Skip to content

ci: say npm refused the token, not why - #319

Merged
Higangssh merged 1 commit into
mainfrom
fix/dont-claim-an-npm-token-limit
Oct 8, 2026
Merged

Higangssh merged 1 commit into
mainfrom
fix/dont-claim-an-npm-token-limit

Conversation

@Higangssh

Copy link
Copy Markdown
Owner

#317's error message and comments said npm granular tokens "expire after at most 90 days". npm's documentation doesn't say that. It only requires the expiry to be at least a day away and gives no maximum. What we observed is narrower: the token was set 93 days ago, and npm whoami with it now returns 401 Unauthorized. The token may have expired, or it may have been revoked.

The error now says what was seen and keeps the cause as a possibility: NPM_TOKEN was refused (…401…); it may have expired or been revoked. The script's comment, the release.yml comment and #317's CHANGELOG line are corrected to match. I also corrected #317's PR body and #318, which made the same claim.

@Higangssh
Higangssh merged commit 88610ca into main Oct 8, 2026
7 checks passed
@Higangssh
Higangssh deleted the fix/dont-claim-an-npm-token-limit branch October 8, 2026 10:31
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