ci(.github/workflows/autofix): match only the subject in the autofix commit guard - #11528
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe autofix workflow now skips pushes whose commit subject starts with ChangesAutofix workflow
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The workflow change is narrowly scoped and has no established merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
View your CI Pipeline Execution ↗ for commit 9ee7bff
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview1 package(s) bumped directly, 24 bumped as dependents. 🟩 Patch bumps
|
size-limit report 📦
|
🎯 Changes
The guard added in #11522 skipped its own merge, so reference docs were never regenerated on
main.head_commit.messageis the full message, not just the subject. A squash merge lists the branch's commits in the body, so any pull request autofix had touched carries* ci: apply automated fixesthere andcontainsmatched it:Since autofix runs on nearly every pull request, this would have skipped most merges — not just this one.
TanStack/form, which the guard was modelled on, shows the same symptom: of its last 15 skipped runs, 5 were ordinary merges (Form Groups (#2128),Fix trusted provenance (#2194), …) rather than autofix's own commits.startsWithagainst the fullcommit-messagematches the subject only, which is what the guard intends:containsstartsWithci: apply automated fixesci(*): … (#11522)with autofix in the bodyfix(query-core): … (#11524)The expression is quoted because the literal now contains
:, which YAML would otherwise read as a nested mapping.maincurrently has seven staleQueryCache.mdpages from #11524; merging this should have autofix regenerate them.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.pnpm run generate-docsand committed the result, or this pull request does not change any JSDoc on published APIs.🚀 Release Impact
Summary by CodeRabbit