Skip to content

fix CI workflow path drift in root automation#84

Merged
LadyBluenotes merged 3 commits intomainfrom
ci-fix
Mar 16, 2026
Merged

fix CI workflow path drift in root automation#84
LadyBluenotes merged 3 commits intomainfrom
ci-fix

Conversation

@LadyBluenotes
Copy link
Member

@LadyBluenotes LadyBluenotes commented Mar 16, 2026

Summary

  • fix the root PR workflow to ignore the repository README.md using the correct path
  • remove the stale pkg-pr-new template argument so preview publishing only targets existing packages
  • delete obsolete workflow files that no longer apply to the current intent repo setup

Summary by CodeRabbit

  • Chores
    • Adjusted preview publishing behavior for repository previews.
    • Removed several internal automation workflows related to skill staleness checks, skill validation, and feedback processing.

@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2026

⚠️ No Changeset found

Latest commit: f0d8fd0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Mar 16, 2026

📝 Walkthrough

Walkthrough

Updated GitHub Actions: small changes to the PR workflow and removal of three separate workflows that handled skill staleness checks, skill validation, and automated feedback labeling. No source code or public API signatures were modified. (46 words)

Changes

Cohort / File(s) Summary
PR Workflow
\.github/workflows/pr.yml
Adjusted path-ignore from ../../README.md to README.md; removed --template './examples/*/*' from the Publish Previews step so it now publishes with --pnpm './packages/*' only.
Removed: Skill Staleness Check
\.github/workflows/skill-staleness-check.yml
Deleted workflow that ran a skill staleness check using a script/agent flow (built prompts, invoked Oz agent, opened PRs when skills updated).
Removed: Validate Skills
\.github/workflows/validate-skills.yml
Deleted workflow that validated packages/intent/skills/** and related files via a Node/tsx validation script.
Removed: Process Feedback
\.github/workflows/process-feedback.yml
Deleted workflow that auto-labeled Feedback discussions by parsing discussion body and applying labels via the GitHub GraphQL API.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I hopped through CI with a twitchy nose,
Removed some tasks and trimmed some prose,
PR flow lighter, fewer springs to bound,
Quiet workflows now rest safe and sound 🥕🐇

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description lacks the required checklist items and doesn't follow the specified template structure with clear sections. Add the complete checklist from the template including 'Contributing guide', 'pnpm run test:pr', and 'Release Impact' sections with appropriate checkboxes marked.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: fixing CI workflow path drift in root automation, which is the core focus of the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci-fix
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use oxc to improve the quality of JavaScript and TypeScript code reviews.

Add a configuration file to your project to customize how CodeRabbit runs oxc.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 16, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@tanstack/intent@84

commit: f0d8fd0

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/validate-skills.yml:
- Around line 3-7: The workflow currently invokes scripts/validate-skills.ts
with no arguments so the script defaults to scanning repository-root skills/
(which doesn't exist) and findSkillFiles() returns nothing; update the workflow
trigger invocation of scripts/validate-skills.ts to pass the correct directory
(the package directory being watched, e.g. "packages/intent/meta" or the exact
path your skill files live in) so validate-skills.ts scans the intended folder;
ensure the workflow command argument matches the directory structure used by
findSkillFiles() and keep the script invocation consistent with the on: paths.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d50f7b4c-e17f-43fe-9266-9fc3bb415d7d

📥 Commits

Reviewing files that changed from the base of the PR and between 379efa8 and 2db20f5.

📒 Files selected for processing (3)
  • .github/workflows/pr.yml
  • .github/workflows/skill-staleness-check.yml
  • .github/workflows/validate-skills.yml

Comment on lines +3 to +7
on:
pull_request:
paths:
- 'packages/intent/meta/**'
- 'scripts/validate-skills.ts'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify where SKILL.md files actually exist in the repository
echo "=== Searching for SKILL.md files ==="
fd -t f "SKILL.md" --exclude node_modules

echo ""
echo "=== Checking if skills/ directory exists at root ==="
if [ -d "skills" ]; then
  echo "skills/ directory exists at root"
  tree -L 3 skills 2>/dev/null || ls -la skills
else
  echo "No skills/ directory at repository root"
fi

echo ""
echo "=== Checking packages/intent/meta/ structure ==="
if [ -d "packages/intent/meta" ]; then
  echo "packages/intent/meta/ exists"
  tree -L 3 packages/intent/meta 2>/dev/null || ls -la packages/intent/meta
else
  echo "No packages/intent/meta/ directory"
fi

Repository: TanStack/intent

Length of output: 945


🏁 Script executed:

cat scripts/validate-skills.ts

Repository: TanStack/intent

Length of output: 5025


Validation script is silently skipped — pass the correct directory path.

The workflow triggers on packages/intent/meta/** changes but runs the validation script without any arguments. The script defaults to scanning skills/ at the repository root, which doesn't exist. Since the directory is missing, findSkillFiles() returns no results and the script exits successfully (exit code 0) with the message "No SKILL.md files found — nothing to validate" — making validation silently skip without error.

Pass the correct directory to the validation script:

Fix
       - name: Run validation
-        run: npx tsx scripts/validate-skills.ts
+        run: npx tsx scripts/validate-skills.ts packages/intent/meta
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/validate-skills.yml around lines 3 - 7, The workflow
currently invokes scripts/validate-skills.ts with no arguments so the script
defaults to scanning repository-root skills/ (which doesn't exist) and
findSkillFiles() returns nothing; update the workflow trigger invocation of
scripts/validate-skills.ts to pass the correct directory (the package directory
being watched, e.g. "packages/intent/meta" or the exact path your skill files
live in) so validate-skills.ts scans the intended folder; ensure the workflow
command argument matches the directory structure used by findSkillFiles() and
keep the script invocation consistent with the on: paths.

@LadyBluenotes LadyBluenotes merged commit 393b912 into main Mar 16, 2026
5 checks passed
@LadyBluenotes LadyBluenotes deleted the ci-fix branch March 16, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants