Skip to content

Use OIDC trusted publishing (drop registry-url)#36

Merged
theinfosecguy merged 1 commit into
mainfrom
ci/fix-oidc-auth
Jun 14, 2026
Merged

Use OIDC trusted publishing (drop registry-url)#36
theinfosecguy merged 1 commit into
mainfrom
ci/fix-oidc-auth

Conversation

@theinfosecguy

Copy link
Copy Markdown
Owner

Problem & Solution Overview

The v1.3.0 publish returned E404 ("you do not have permission"): setup-node's registry-url writes a dummy NODE_AUTH_TOKEN into .npmrc, so npm attempted (failing) token auth instead of OIDC. Removing registry-url leaves no token configured, so npm uses OIDC trusted publishing (it defaults to the npmjs.org registry).

Testing Done

release.yml validated. Re-tagging v1.3.0 after merge re-runs smoke → publish via OIDC.

@theinfosecguy theinfosecguy merged commit 3e30ca2 into main Jun 14, 2026
5 checks passed
@theinfosecguy theinfosecguy deleted the ci/fix-oidc-auth branch June 14, 2026 18:18
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