mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #50] [MERGED] ci(bump-cursor-review): trigger on .github/cursor-review/** asset changes (BE-3916) #60
Labels
No labels
cursor-review-catalog-drift
groom
groom
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/github-workflows#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/github-workflows/pull/50
Author: @mattmillerai
Created: 7/21/2026
Status: ✅ Merged
Merged: 7/21/2026
Merged by: @mattmillerai
Base:
main← Head:matt/be-3916-cursor-review-assets-trigger📝 Commits (1)
8f6d47eci(bump-cursor-review): trigger on .github/cursor-review/** asset changes (BE-3916)📊 Changes
2 files changed (+7 additions, -1 deletions)
View changed files
📝
.github/bump-callers/README.md(+1 -1)📝
.github/workflows/bump-cursor-review-callers.yml(+6 -0)📄 Description
ELI-5
When someone edits the cursor-review workflow file, a robot automatically opens "please update your pinned version" PRs in every repo that uses it. But cursor-review's real behavior also lives in sibling scripts and prompts (
.github/cursor-review/**, e.g.extract-findings.py) that consumers pull in at the exact SHA they pinned. Editing one of those scripts changes what every pinned caller runs — but the robot didn't wake up for it, so consumers silently kept running the old (possibly buggy) script. This PR makes the robot also wake up on.github/cursor-review/**changes, so a fix to a prompt/script fans out a bump PR just like a workflow-file change does.What changed
.github/workflows/bump-cursor-review-callers.yml— added.github/cursor-review/**to thepush:path filter (previously only.github/workflows/cursor-review.yml), with an inline comment explaining why. This mirrors the two sibling fleets that already do this:.github/workflows/agents-md-integrity.yml+.github/agents-md-integrity/**.github/workflows/pr-size.yml+scripts/check-pr-size/**.github/bump-callers/README.md— updated the fleet table's "Triggers on a change to" cell tocursor-review.ymlorcursor-review/**, matching the agents-md row's phrasing.Why
cursor-review.ymlis not self-contained: its checkout steps pull this repo's.github/cursor-review/*prompts + scripts atinputs.workflows_ref(the SHA a consumer pins). So a behavior-changing edit under.github/cursor-review/**changes what every pinned caller runs, yet did not trigger a SHA-bump PR — consumers silently stayed on the old revision. Deferred from a review thread on #35 as out of scope there.Testing
bash .github/bump-callers/tests/test_bump_callers.sh→ 88 passed, 0 failedshellcheck -x .github/bump-callers/bump-callers.sh .github/bump-callers/tests/test_bump_callers.sh→ cleanpython3 -c "import yaml; yaml.safe_load(...)"on the edited workflow → validNo test changes needed — this is purely a trigger-path addition, not a change to
bump-callers.sh.Notes / judgment calls
.github/cursor-review/**also matchestests/**andREADME.md, so a test-only or docs-only edit would open a bump PR. This exactly matches the siblingagents-md-integrity/**andcheck-pr-size/**patterns, and the bumper is idempotent (an already-pinned SHA is a clean skip), so the slight over-breadth is the accepted, consistent tradeoff.test-bump-callers.ymldid not need.github/cursor-review/**added — it runs the bump-callers unit suite and already triggers on the editedbump-cursor-review-callers.yml. The README's "add paths totest-bump-callers.yml" note is for registering a new entrypoint, not for widening an existing fleet's runtime trigger.Closes BE-3916.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.