fix(release): publish to npm with NPM_TOKEN until npm accepts immutable OIDC subjects - #76
Merged
Merged
Conversation
…le OIDC subjects Trusted publishing fails with 403 because this repo issues GitHub's immutable OIDC subject claims (forced for repos created/renamed after 2026-07-15) and npm's token exchange rejects them (npm/cli#9969). Use a granular token via NODE_AUTH_TOKEN for now; provenance still works. Also removes the temporary OIDC claim debug step. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Sep 30, 2026
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.
Trusted publishing fails with
403 OIDC permission deniedbecause this repo issues GitHub's immutable OIDC subject claims (repo:taraxvoid@<id>/voidflow@<id>:...), forced on for repos created or renamed after 2026-07-15 and not switchable. npm's token exchange rejects that format: npm/cli#9969.NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}. Provenance still works viaid-token: write.workflow_dispatchmanual republish stays.NODE_AUTH_TOKENlines; the trusted publisher entries are already configured).Before merging / republishing
@taraxvoid/voidflowandvoidflow, bypass-2FA for automation).NPM_TOKENon thenpmGitHub environment (Settings > Environments > npm > Environment secrets).v0.7.0to publish it.🤖 Generated with Claude Code