-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): hold create-github-app-token at v1.x in the cross-repo caller bumpers (BE-5227) #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,6 +85,27 @@ updates: | |
| # forms of the dependency name. | ||
| - dependency-name: "Comfy-Org/github-workflows*" | ||
|
|
||
| # Hold `create-github-app-token` at v1.x in the cross-repo bumpers. | ||
| # | ||
| # The v1.12.0 -> v3.2.0 jump in the 2026-07-30 major group (#95) broke the | ||
| # `owner:`-without-`repositories:` token: every bump-*-callers.yml run since | ||
| # has 403'd with "Resource not accessible by integration" on `tree create` | ||
| # for every caller repo, silently stranding every consumer on a stale pin. | ||
| # Verified against one repo across the boundary: cloud-code-bot[bot] wrote | ||
| # Comfy-Org/cloud at 23:03 on v1.12.0 and 403'd on the same repo, same token | ||
| # config, on v3.2.0. Neither the v2.0.0 nor the v3.0.0 release notes document | ||
| # a scoping change, so this is pinned by evidence, not by changelog. | ||
| # | ||
| # Scoped to majors only: v1.x patches still arrive. Lifting this needs a | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium — "v1.x patches still arrive" overstates the safety margin: |
||
| # cross-repo write proven on a real caller, not a green unit-test run — | ||
| # nothing in CI exercises the cross-repo path. | ||
| # | ||
| # NOTE: only the six bump-*-callers.yml workflows are held back. The | ||
| # current-repo minters (groom.yml, cursor-review.yml, pr-size.yml, ...) do | ||
| # not set `owner:`, are scoped to the running repo, and stay on v3.x. | ||
| - dependency-name: "actions/create-github-app-token" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 High — A Dependabot |
||
| update-types: ["version-update:semver-major"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium — |
||
|
|
||
| # Dependency-free today, but declared so the day a module is added it is | ||
| # watched rather than silently rotting — the same failure mode this file | ||
| # exists to fix. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,7 +71,7 @@ jobs: | |
| persist-credentials: false | ||
|
|
||
| - name: Generate Cloud Code Bot token | ||
| uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 | ||
| uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0 — pinned: see dependabot.yml ignore (v2+ breaks cross-repo `owner:` token scoping) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟢 Low — The "do not upgrade" rationale lives in the trailing version comment, which is exactly the text Dependabot rewrites wholesale on a bump and |
||
| id: token | ||
| with: | ||
| app-id: ${{ vars.APP_ID }} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -102,7 +102,7 @@ jobs: | |
| persist-credentials: false | ||
|
|
||
| - name: Generate Cloud Code Bot token | ||
| uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 | ||
| uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0 — pinned: see dependabot.yml ignore (v2+ breaks cross-repo `owner:` token scoping) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium — Reverting to v1.12.0 restores the widest token scope: with |
||
| id: token | ||
| with: | ||
| app-id: ${{ vars.APP_ID }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium — This comment commits a specific consumer repo name (
Comfy-Org/cloud), the bot identity that holds write access to it, and the timestamp of a write into a public file. AGENTS.md requires caller names to live only in thevars.*_CALLERSvariables and never appear in workflow files, logs, or commit text; the same evidence reads fine with the repo anonymized ("one caller repo"). Raised by 2 of 8 reviewers (claude-opus-5-thinking-max adversarial, gpt-5.6-sol-max adversarial).