Skip to content

ci: use GitHub App token for release-please#12

Merged
rosstaco merged 1 commit into
mainfrom
ci/release-please-app-token
May 28, 2026
Merged

ci: use GitHub App token for release-please#12
rosstaco merged 1 commit into
mainfrom
ci/release-please-app-token

Conversation

@rosstaco
Copy link
Copy Markdown
Owner

Replace the default GITHUB_TOKEN with a token minted from a GitHub App via actions/create-github-app-token.

Why

PRs opened by the default GITHUB_TOKEN do not trigger other workflows, so CI never runs on release-please PRs. Once branch protection enforces required status checks on main, those release PRs would become unmergeable.

App tokens are also strictly better than PATs: no expiration to babysit, not tied to a user account, fine-grained per-repo scoping, and auto-rotated by GitHub.

Required repo configuration before next release-please run

  • Variable: RELEASE_PLEASE_APP_ID (the App's numeric ID)
  • Secret: RELEASE_PLEASE_APP_PRIVATE_KEY (full .pem contents)

The App needs Contents + Pull requests + Issues = read/write, installed on this repo only.

Related

A disabled branch ruleset (main-protection, id 16976216) was created out-of-band requiring test (3.11|3.12|3.13) checks. Enable it after verifying release-please works with the App token.

Replace the default GITHUB_TOKEN with a token minted from a GitHub
App via actions/create-github-app-token. App tokens trigger workflows
on PRs they open, so CI will now run on release-please PRs (which is
required once branch protection enforces status checks on main).

Requires repo-level configuration:
- variable: RELEASE_PLEASE_APP_ID
- secret:   RELEASE_PLEASE_APP_PRIVATE_KEY

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rosstaco rosstaco merged commit c4f0e2a into main May 28, 2026
3 checks passed
@rosstaco rosstaco deleted the ci/release-please-app-token branch May 28, 2026 11:56
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