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
Attach npm provenance only when the repository is public
npm cannot mint a provenance attestation from a private source repository,
so `npm publish --provenance` fails outright there. The flag is now added
only when the run reports a public repository, and `publishConfig.provenance`
no longer forces it regardless.
This keeps the release unblocked while the repository is private and needs
no follow-up edit: making it public is by itself enough for attestation to
come back on the next publish. An unrecognised visibility is treated as
private, which costs the attestation rather than the release.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments