Skip to content

ci: pass GITHUB_TOKEN to the canary snapshot publish - #63

Open
thymikee wants to merge 1 commit into
mainfrom
fix/canary-github-token
Open

ci: pass GITHUB_TOKEN to the canary snapshot publish#63
thymikee wants to merge 1 commit into
mainfrom
fix/canary-github-token

Conversation

@thymikee

Copy link
Copy Markdown
Member

The "Publish canary snapshot" step runs changeset version --snapshot canary, which invokes the GitHub changelog generator added in #52 and aborts without a token:

🦋 error Error: Please create a GitHub personal access token ... and add it as the GITHUB_TOKEN environment variable

Every canary publish since then has failed before reaching npm, including the one after #59 merged (run 34593231337). The canary dist-tag still points at 0.4.0-canary-20260403134337. The release step already passes the token; this passes the same token to the canary step.

`changeset version --snapshot` runs the GitHub changelog generator added in
#52, which aborts without a token. Every canary publish since then has failed
before reaching npm; the last canary on npm predates that change.
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