ci: use PAT for release-please so release PRs trigger CI#287
Merged
fan-zhang-sv merged 1 commit intomasterfrom Apr 27, 2026
Merged
ci: use PAT for release-please so release PRs trigger CI#287fan-zhang-sv merged 1 commit intomasterfrom
fan-zhang-sv merged 1 commit intomasterfrom
Conversation
Release PRs opened by `release-please-action` were authored by the default `GITHUB_TOKEN`, and per GitHub's docs events triggered by `GITHUB_TOKEN` do not start new workflow runs. As a result the lint, format, typecheck, and test workflows never ran on the release PR. Switch the action to a `RELEASE_PLEASE_TOKEN` secret (a classic or fine-grained PAT, or a GitHub App installation token) so that PR events fire normally and CI runs on each release PR. Setup notes (one-time): - Create a token with contents, pull-requests, and issues read/write on this repo. - Save it as the `RELEASE_PLEASE_TOKEN` repo secret. - The next push to master will reopen the release PR under the new identity and CI will run on it. Made-with: Cursor
Collaborator
✅ Heimdall Review Status
|
stephancill
approved these changes
Apr 27, 2026
cb-jake
approved these changes
Apr 27, 2026
Contributor
Review SummaryPR title: Valid conventional commit format ( Change: Replaces Findings: None.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release PRs opened by
release-please-actionare authored by the defaultGITHUB_TOKEN, and per GitHub's docs events triggered byGITHUB_TOKENdo not start new workflow runs:That's why the current open release PR (#286) shows only Heimdall + StepSecurity checks — none of
Lint Check,Format Check,Type Check,Tests, orPR Titleever ran.This PR switches
release-please-actionto read its token from aRELEASE_PLEASE_TOKENsecret instead. With a PAT (or GitHub App installation token) backing it, the resultingpull_requestevents fire normally and CI runs on every release PR.Required setup before merging
contents: read/write,pull-requests: read/write, andissues: read/writeonbase/account-sdk. Either:reposcope, oractions/create-github-app-token.baseenforces SAML SSO, authorize the token for thebaseorg.RELEASE_PLEASE_TOKENat https://github.com/base/account-sdk/settings/secrets/actions.Post-merge
The next push to
masterwill (re)open the release PR under the new token's identity, and CI will run on it. The currently-open #286 was created under the oldGITHUB_TOKENidentity; closing and reopening it (or letting release-please recreate it after this lands) will make CI run there too.Test plan
RELEASE_PLEASE_TOKENsecret is configured on the repoLint Check,Format Check,Type Check,Tests(Node 20/22/24), andPR Titlechecksgithub-actions[bot])Made with Cursor