You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#467 switches releases to npm trusted publishing (OIDC) but keeps NPM_TOKEN as a fallback, in case trusted publishers are missing for some packages. Once a release has gone through OIDC, the long-lived personal token is no longer needed and should not stay usable.
What?
After the first release with trusted publishing (the Release workflow log shows no "Using the NPM_TOKEN fallback" notice and the npm package pages show provenance for the new version):
Remove the step "Configure npm token (fallback)" from .github/workflows/release.yml.
Delete the NPM_TOKEN repository secret and revoke the token on npmjs.com (its owner).
Optionally, on npmjs.com, set each package to "Require two-factor authentication and disallow tokens" (Settings → Publishing access), so that only trusted publishing can publish.
Activity