devops1 min read

Opt-in dist-tag permissions for npm trusted publishing

8 similar posts
  • npm
  • GitHub

AI Summary

GitHub now supports opt-in dist-tag management permissions for npm trusted publishing using short-lived OIDC credentials, eliminating the need for long-lived access tokens for release tags.

Key Takeaways

  • Trusted publishing configurations can now be granted permission to manage dist-tags.
  • The permission defaults to off for both new and existing configurations.
  • Token-based dist-tag management continues to work unchanged.

Why it matters

Eliminates the security risk of maintaining long-lived npm access tokens solely for managing distribution tags after a release or rollback, extending OIDC-based token-free workflows.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.