Skip to content

build: Pin gh-aw back to v0.89.21 - #129

Merged
cgwalters merged 1 commit into
bootc-dev:mainfrom
cgwalters-forge:bot/ghaw-pin-bot-checkout
Oct 16, 2026
Merged

cgwalters merged 1 commit into
bootc-dev:mainfrom
cgwalters-forge:bot/ghaw-pin-bot-checkout

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Contributor

The review agent fails on every PR pushed by bootc-bot[bot] since #120 bumped gh-aw to v0.90.1, e.g. run 36787073334 on #121:

ERR_PERMISSION: Refusing PR checkout: actor 'bootc-bot[bot]' has 'none' permission (requires write or higher)

gh-aw v0.89.22 (github/gh-aw#63011) removed the bypass for sender.type == "Bot" in checkout_pr_branch.cjs, so app actors now need write collaborator permission, which a GitHub App bot can't have. It isn't a token or permissions: problem. This pins gh-aw back to v0.89.21 (latest non-prerelease, still has the bypass) and pins Claude Code to 2.1.285 in shared/defaults.md, since claude-opus-5-5 needs 2.1.280+ and v0.89.21 bundles 2.1.273.

Tested: compiled all five workflows with the gh-aw v0.89.21 release binary, then recompiled the committed result and git diff --exit-code -- .github/workflows/ was clean (the CI drift check). Checked that the pinned gh-aw-actions/setup SHA (v0.89.21) still has the Bot bypass. The agents themselves haven't run with this yet.

Follow-up: gh-aw should trust actors in the workflow's bots: allowlist (already gated by pre_activation) for PR checkout; until then, don't take the next gh-aw upgrade.

The Signed-off-by: Colin Walters <walters@verbum.org> on these commits was added on cgwalters's approval of the review draft: cgwalters-forge#4 (review)

Generated-by: https://github.com/cgwalters/#llms

gh-aw v0.89.22 (github/gh-aw#63011) dropped the implicit trust for
bot/app actors in the "Checkout PR branch" step: the triggering actor
must now have write-or-higher collaborator permission. A GitHub App's
bot user can't be a repository collaborator, so the API reports "none"
for bootc-bot[bot], and every review run on a PR the bot pushed now
fails before the agent starts. The fix agent hits the same once the
review agent applies agent/fixme. Changing the workflows' token
permissions doesn't help, since the check is on the actor, not the
token.

v0.89.21 is gh-aw's latest non-prerelease and still trusts Bot
senders there. The bump to v0.90.1 in bootc-dev#120 was for Claude Code
support of claude-opus-5-5, which needs 2.1.280+, so pin the engine
version instead until gh-aw lets allowlisted bots through.

Generated-by: AI
Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters
cgwalters merged commit 5cde829 into bootc-dev:main Oct 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants