Use RELEASE_PAT for changesets/action so Version Packages PRs trigger CI#744
Merged
RhysSullivan merged 1 commit intomainfrom May 10, 2026
Merged
Use RELEASE_PAT for changesets/action so Version Packages PRs trigger CI#744RhysSullivan merged 1 commit intomainfrom
RhysSullivan merged 1 commit intomainfrom
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | 1607db8 | May 10 2026, 05:57 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | 1607db8 | Commit Preview URL Branch Preview URL |
May 10 2026, 05:57 AM |
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
Swap
GITHUB_TOKENforsecrets.RELEASE_PAT(with fallback) in thechangesets/actionstep ofrelease.yml. Falls back toGITHUB_TOKENwhen the secret is unset, so forks and pre-secret states keep working.Why
GitHub does not trigger downstream workflow runs from events caused by the default
GITHUB_TOKEN. The Version Packages PR auto-opened bychangesets/actionwas being authored bygithub-actions[bot]via that token, so neitherpkg-pr-newnorCIran on it. Reviewers couldn't preview-install the bundle that was about to publish.With a PAT, the PR is authored by a real user and downstream workflows fire normally.
Setup needed (one-time)
Repo secret
RELEASE_PATmust be set to a PAT (fine-grained or classic) with at minimum:Contents: Read and writePull requests: Read and writeScoped to this repo only (for fine-grained PATs). Already set in this repo.
Test plan
mainand confirm the resulting Version Packages PR haspkg-pr-new+CIruns without manual close/reopen