Repository navigation
ci(release): open the release pull request with the heb-release App token - #108
Merged
Merged
Conversation
|
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.
The changesets release pull request never gets CI. Every
CIrun onchangeset-release/mainsince at least 2026-10-08 failed with no jobs, started bygithub-actions[bot](for example run 45222044956 on #107). GitHub runs no CI for a pull request thatGITHUB_TOKENopens or pushes to.What changes
versionjob mints a token of theheb-releaseGitHub App withactions/create-github-app-token(pinned to v3.3.0) and passes it tochangesets/actionasGITHUB_TOKEN.actions/checkoutkeeps its token in the git config, andchangesets/action@v1pushes the release branch with git, so a checkout withGITHUB_TOKENwould still push asgithub-actions[bot].contents: read. Thenpmandjsrjobs keep their ownid-token: write.Before merging
The repository needs the
RELEASE_APP_PRIVATE_KEYsecret.RELEASE_APP_CLIENT_IDis set. Without the secret, theversionjob fails on every push tomain.Verification
main, so the first proof is the next release pull request: its CI must start and pass.