mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #62] [MERGED] ci(bump-callers): bring sibling entrypoints to parity with hardened auto-label bumper (BE-4058) #75
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#75
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/62
Author: @mattmillerai
Created: 7/22/2026
Status: ✅ Merged
Merged: 7/26/2026
Merged by: @mattmillerai
Base:
main← Head:matt/be-4058-bump-callers-parity📝 Commits (2)
9a88de9ci(bump-callers): bring sibling entrypoints to parity with hardened auto-label bumper (BE-4058)069c36dci(bump-callers): skip stale re-runs + treat asset-dir deletion as decommission (BE-4058)📊 Changes
4 files changed (+116 additions, -8 deletions)
View changed files
📝
.github/workflows/bump-agents-md-callers.yml(+29 -2)📝
.github/workflows/bump-assign-reviewers-callers.yml(+29 -2)📝
.github/workflows/bump-cursor-review-callers.yml(+29 -2)📝
.github/workflows/bump-pr-size-callers.yml(+29 -2)📄 Description
ELI-5
We have five little robots that, whenever one of our shared workflow files changes, go tell every repo that uses it "hey, update to the new version." The newest robot (PR #60) got three safety upgrades after its review; the four older robots never got them. This PR gives the same three upgrades to the older four, copied word-for-word from the new one: (1) they now fetch their tools from an exact, tamper-proof address instead of a movable label; (2) they refuse to run if someone accidentally starts them from an old copy of the code (which would push everyone backwards); (3) if the file they announce got deleted, they say "nothing to announce" and stop instead of telling every repo to use a file that no longer exists.
What
Mirrors the three hardenings from commit
89e3110(bump-cursor-review-auto-label-callers.yml, PR #60's review panel) onto the four pre-existing sibling entrypoints —bump-cursor-review-callers.yml,bump-agents-md-callers.yml,bump-pr-size-callers.yml,bump-assign-reviewers-callers.yml— with the exact comments/idiom from the reference:actions/checkout@v6→actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3, per the repo's own AGENTS.md pin-by-SHA policy. Tag→commit mapping independently verified via the GitHub API (v6.0.3annotated tag dereferences todf4cb1c...); same pin already used bypr-size.ymland PR #60.if: github.ref == 'refs/heads/main'on thebumpjob. All siblings gainedworkflow_dispatchin #15 and setNEW_SHA: ${{ github.sha }}; a manual dispatch from a non-main/older ref would pin every caller to that stale SHA (the bumper force-resets a stable sharedci/bump-*branch, so an old-ref run can overwrite a newer bump and downgrade consumers) and would runbump-callers.shfrom an unreviewed ref with the freshly minted App token. The push trigger is already main-only, so this only skips stray manual runs.WORKFLOW_FILEat the checked-out SHA and exits 0 ("absent at this SHA — decommissioned; nothing to bump") before invokingbump-callers.sh.bump-callers.shand its tests are untouched — workflow-YAML only, as the ticket scopes.Verification
shellcheck -x .github/bump-callers/bump-callers.sh .github/bump-callers/tests/test_bump_callers.sh— cleanbash .github/bump-callers/tests/test_bump_callers.sh— 88 passed, 0 failedyaml.safe_load)v6.0.3tag→commit mapping verified live againstactions/checkout(annotated tag9f69817→ commitdf4cb1c...)Judgment calls / notes
main— no file overlap, so it's based onmainand merges independently in either order..github/cursor-review/**,scripts/check-pr-size/**), an asset-dir-only deletion with the workflow file still present still bumps — correct, since callers reference the workflow file, and this matches the ticket's "if the fleet's WORKFLOW_FILE is absent" spec and the89e3110idiom.cursor-review.yml,agents-md-integrity.yml, severaltest-*.yml) still use bareactions/checkout@v6/setup-python@v6. The ticket scopes this PR to the four bump entrypoints; the rest would be a separate sweep.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
main (<short>)pin marker (BE-4523) #84