mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #35] [MERGED] ci: register pr-size as a caller fleet on the shared bump-callers.sh #42
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#42
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/35
Author: @mattmillerai
Created: 7/18/2026
Status: ✅ Merged
Merged: 7/21/2026
Merged by: @mattmillerai
Base:
main← Head:matt/be-3482-generalize-bump-callers📝 Commits (5)
f8e1287ci: generalize bump-cursor-review-callers into a multi-workflow bump-callers dispatcher6a06c96Merge main: adopt the shared bump-callers.sh entrypoint pattern for pr-sizec26fe33fix: resolve review feedback55bd592Merge remote-tracking branch 'origin/main' into matt/be-3482-generalize-bump-callersed6b9adfix: resolve review feedback📊 Changes
7 files changed (+124 additions, -22 deletions)
View changed files
📝
.github/bump-callers/README.md(+12 -7)📝
.github/bump-callers/bump-callers.sh(+6 -5)📝
.github/workflows/bump-agents-md-callers.yml(+3 -0)📝
.github/workflows/bump-cursor-review-callers.yml(+3 -0)➕
.github/workflows/bump-pr-size-callers.yml(+86 -0)📝
.github/workflows/test-bump-callers.yml(+6 -4)📝
AGENTS.md(+8 -6)📄 Description
ELI-5
This PR started as "turn the one cursor-review bump robot into a dispatcher that
also handles pr-size." While it was open,
mainlanded #38,which generalized the same bump robot a different way: one shared script
(
.github/bump-callers/bump-callers.sh) driven by a thin per-fleet entrypointworkflow, and used it to add a second fleet (agents-md-integrity). This PR now
reconciles with that: instead of a second, competing dispatcher implementation,
it registers pr-size as a third fleet on the now-shared script, the same way
agents-md-integrity was added.
What changed (revised after merging in #38)
bump-pr-size-callers.yml— a new thin entrypoint over.github/bump-callers/bump-callers.sh, mirroringbump-agents-md-callers.ymlexactly: triggers on a change to
pr-size.yml, uses thePR_SIZE_CALLERSvariable, and is seeded
ALLOW_EMPTY=true(the workflow hasn't landed yet, sothe fleet grows as callers get added — no different from how agents-md-integrity
onboarded).
.github/bump-callers/README.md,bump-callers.sh's header comment,test-bump-callers.yml's path filters, andAGENTS.mdupdated for the thirdfleet.
bump-callers.ymlsingle-dispatcher design (registry + compare-APIpush resolution +
workflows/dry_rundispatch inputs) is dropped — itwould have re-forked the bump logic #38 just consolidated into one script,
which is exactly what #38's own commit message (and this repo's
AGENTS.md,"One bumper, not several") says not to do. The per-workflow
paths:triggereach entrypoint already has does the same "only bump what actually changed"
job the compare-API resolution was for, natively.
Verification
shellcheck -x .github/bump-callers/bump-callers.sh .github/bump-callers/tests/test_bump_callers.sh— clean.bash .github/bump-callers/tests/test_bump_callers.sh— 25/25 passing, unchanged(the shared script itself wasn't touched, only a new caller of it was added).
python3 .github/agents-md-integrity/check_agents_md.py --root .— passes(pre-existing CODEOWNERS warning only).
bump-pr-size-callers.ymlagainstbump-agents-md-callers.ymlto confirmonly the intended per-fleet parameters differ (name, trigger path,
VAR_NAME,TAG,WORKFLOW_FILE).Judgment calls / notes for the reviewer
PR_SIZE_CALLERSvariable is seeded yet — same bootstrapping asAGENTS_MD_CALLERSwas:ALLOW_EMPTY=truemakes the entrypoint a clean no-opuntil the pr-size rollout starts adding callers.
pr-size.ymllands under a different filename than assumed here, the fix isthe
WORKFLOW_FILE/path-filter inbump-pr-size-callers.ymlalone.Follow-up fix (same tick)
Restored
permissions: contents: read(this PR's original zizmor-driven fix)across all three
bump-*-callers.ymlentrypoints — main's #38 merge andthis PR's new
bump-pr-size-callers.ymlhad all landed without an explicitpermissions:block. None of these jobs write viaGITHUB_TOKEN(writes gothrough the generated app token), so read-only is correct, and it now matches
every other workflow file in this repo (all of which declare explicit
permissions).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.