Skip to content

Migrate npm publish to OIDC Trusted Publishers#25

Merged
Bullrich merged 1 commit into
mainfrom
migrate-to-trusted-publisher
May 12, 2026
Merged

Migrate npm publish to OIDC Trusted Publishers#25
Bullrich merged 1 commit into
mainfrom
migrate-to-trusted-publisher

Conversation

@Bullrich
Copy link
Copy Markdown
Member

Summary

  • Removes NPM_TOKEN secret — authentication is now handled via GitHub OIDC (Trusted Publishers)
  • Adds environment: npm to the publish job, matching the npm Trusted Publisher configuration
  • id-token: write permission was already in place

Test plan

  • Trigger a release and confirm the publish job authenticates via OIDC without NPM_TOKEN
  • Verify the npm environment exists in GitHub repo settings (Settings → Environments)

🤖 Generated with Claude Code

Removes NPM_TOKEN secret dependency and authenticates via GitHub OIDC
instead. Adds npm environment to the publish job for additional security.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Bullrich Bullrich enabled auto-merge (squash) May 12, 2026 10:26
@Bullrich Bullrich merged commit 26a64bc into main May 12, 2026
5 checks passed
@Bullrich Bullrich deleted the migrate-to-trusted-publisher branch May 12, 2026 10:26
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