Skip to content

Conversation

@subhankarmaiti
Copy link
Contributor

Migrates the npm publishing workflow from token-based authentication to OIDC (OpenID Connect)

Changes

  • Added id-token: write permission to enable OIDC authentication with npm
  • Added explicit permissions block to the reusable workflow

Why

  • Security: OIDC eliminates the need for long-lived npm tokens stored as secrets
  • Best Practice: Aligns with npm's recommended approach for GitHub Actions publishing

@subhankarmaiti subhankarmaiti requested a review from a team as a code owner December 5, 2025 11:39
@subhankarmaiti subhankarmaiti merged commit 6e6a2e5 into master Dec 8, 2025
4 checks passed
@subhankarmaiti subhankarmaiti deleted the feat/npm-oidc-publishing branch December 8, 2025 05:59
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.

3 participants