Skip to content

Automatically use the GitHub-provided token to allow most users to avoid explicit GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} configuration#564

Merged
Andarist merged 1 commit into
mainfrom
default-github-token
Jan 29, 2026
Merged

Automatically use the GitHub-provided token to allow most users to avoid explicit GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} configuration#564
Andarist merged 1 commit into
mainfrom
default-github-token

Conversation

@Andarist

Copy link
Copy Markdown
Member

closes #525

It feels a little bit off to even be able to do this implicitly but I don't see any scenarios in which one wouldn't like to pass this token to Changesets so I guess it's fine.

…oid explicit `GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}` configuration
@Andarist Andarist requested a review from bluwy January 27, 2026 20:15
@changeset-bot

changeset-bot Bot commented Jan 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b0b048a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bluwy bluwy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HUGE! Thanks for implementing it. Code seems good to me.

@Andarist Andarist merged commit 935fe87 into main Jan 29, 2026
1 check passed
@Andarist Andarist deleted the default-github-token branch January 29, 2026 08:35
@github-actions github-actions Bot mentioned this pull request Jan 28, 2026

@Chavrzp28 Chavrzp28 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Espero ligar codigo para más funciones de detección de errores críticos

@0xsarawut 0xsarawut left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

benchristel added a commit to Khan/format-claude-stream that referenced this pull request Mar 6, 2026
1.7.0 introduced a change to how github tokens are handled:
changesets/action#564

I think this might be causing publishing to fail with this error:

```
🦋  error an error occurred while publishing @khanacademy/format-claude-stream: ENEEDAUTH This command requires you to be logged in to https://registry.npmjs.org
🦋  error You need to authorize this machine using `npm adduser`
🦋  error npm error code ENEEDAUTH
🦋  error npm error need auth This command requires you to be logged in to https://registry.npmjs.org
🦋  error npm error need auth You need to authorize this machine using `npm adduser`
```

For comparison, Perseus pins changesets/action to 1.6.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants