Skip to content

ci: use org release-bot app token for release-please#4

Merged
Alfred Tovsen Mo (alfredtm) merged 1 commit into
mainfrom
ci/release-bot-token
Jun 10, 2026
Merged

ci: use org release-bot app token for release-please#4
Alfred Tovsen Mo (alfredtm) merged 1 commit into
mainfrom
ci/release-bot-token

Conversation

@alfredtm

Copy link
Copy Markdown
Contributor

Release PRs created with the default GITHUB_TOKEN don't trigger other workflows (GitHub's recursion guard), so the required validate check never ran on them and they sat blocked until a manual close/reopen.

This adopts the org-standard fix used by bifrost-mkdocs, json-api-toolkit, and hashicorp-vault-backup: mint a token from the release-bot GitHub App (vars.RELEASE_BOT_APP_ID + secrets.RELEASE_BOT_PRIVATE_KEY, both already exposed to this repo) and pass it to release-please. PRs it opens then trigger CI like any user's.

Dropped the now-unused permissions block — the app token replaces GITHUB_TOKEN entirely.

ci: commit, so this doesn't affect the pending 0.2.0 release PR's contents.

🤖 Generated with Claude Code

PRs opened with the default GITHUB_TOKEN don't trigger workflows, so the
required validate check never ran on release PRs. Mint a token from the
org's release-bot GitHub App instead — same pattern as bifrost-mkdocs,
json-api-toolkit, and hashicorp-vault-backup.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alfredtm Alfred Tovsen Mo (alfredtm) merged commit f478d1c into main Jun 10, 2026
3 checks passed
@alfredtm Alfred Tovsen Mo (alfredtm) deleted the ci/release-bot-token branch June 10, 2026 08:02
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.

1 participant