Skip to content

Conversation

tanjeemh
Copy link

Summary:
This PR updates the GitHub Actions release workflow to use npm Trusted Publishing (OIDC) instead of long-lived NPM_TOKEN secrets.

Changes:

  • Added permissions: id-token: write for OIDC-based publishing.
  • Removed NPM_TOKEN from the release job.

Why:
This change aligns with BitGo’s initiative to eliminate long-lived tokens and use GitHub’s OIDC-based authentication for npm publishing.
Trusted Publishers were configured in npmjs for all relevant repos.

Expected outcome:

  • Future releases will publish securely through GitHub’s OIDC workflow.
  • NPM_TOKEN secrets are no longer required.
  • npm packages will show “Verified provenance” badges after the next release.

Ticket: DX-2098

@tanjeemh tanjeemh requested review from a team as code owners October 10, 2025 19:12
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