mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #64] [MERGED] fix(groom): correct required caller permissions in ci-groom, header, README (BE-3873) #73
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#73
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/64
Author: @mattmillerai
Created: 7/23/2026
Status: ✅ Merged
Merged: 7/23/2026
Merged by: @mattmillerai
Base:
main← Head:matt/be-3873-groom-caller-permissions-doc📝 Commits (2)
34aa7ddfix(groom): correct required caller permissions in ci-groom, header, README (BE-3873)8ac0241fix(groom): grant id-token:write for claude-code-action OIDC in agent jobs + callers (BE-3873)📊 Changes
3 files changed (+33 additions, -9 deletions)
View changed files
📝
.github/workflows/ci-groom.yml(+11 -3)📝
.github/workflows/groom.yml(+21 -5)📝
README.md(+1 -1)📄 Description
What
Fixes the groom caller permissions documentation + the self-pilot caller so groom callers can actually start.
Why
A groom dry-run dispatch startup-failed (0 jobs) with:
A caller job's
permissions:caps the entire reusable'sGITHUB_TOKEN. A reusable's nested jobs cannot request more than the caller grants, and GitHub validates this at startup — before any job, regardless ofif:guards, and regardless of the bot App token doing the real writes. groom.yml's jobs declare:file→issues: write(opens/labels thegroomissues)build_select→issues: read,pull-requests: read(ledger dedup vs issue + PR state)So every caller must grant the union
contents: read+issues: write+pull-requests: read.The
groom.ymlheader caller-pattern example wrongly statedissues: writewas "REQUIRED ONLY if you OMIT bot_app_id" — which is false and sent both groom callers written to date (this repo'sci-groom.ymland the comfy-cloud-mcp-server pilot) into that wall.ci-groom.ymlgrantedcontents: readonly and could never have run.Changes
ci-groom.yml— grant the full union (wascontents: readonly).groom.ymlheader — correct the caller-patternpermissions:block and its rationale.README.md— state the required caller grant on the groom row.No behavior change to the reusable itself — docs + the self-pilot caller only.
ELI5
The groom robot needs permission to write GitHub issues. The instructions told people it didn't (if using the bot account), so everyone who copied them granted too little and GitHub refused to start the robot. This fixes the instructions and the one caller in this repo.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.