Repository navigation
ci: publish through npm trusted publishing only - #201
Merged
Merged
Conversation
Both packages publish through the OIDC exchange, so the release job no longer passes an npm token and the docs no longer describe a token fallback; a failed exchange now fails that package's publish. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
anchorage-showcase-single-tenant | f113a4f | Nov 30 2026, 01:38 AM |
Risk-lane COULDs: the publish-invocation check's comment still described a silent fallback-token publish, and the release header now names setup-node's placeholder token. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Both packages now publish through npm trusted publishing:
@proofoftech/flowsafe0.36.0-0.38.0 and@proofoftech/breakwater0.20.0 carry_npmUser.trustedPublisherand SLSA provenance. The release job therefore stops passingNODE_AUTH_TOKEN, and the repository secret it read has been deleted. Withactions/setup-node'sregistry-urland npm 11.21.0, the job's OIDC exchange is its only credential, which is npm's documented setup for trusted publishing. A failed exchange now fails that package's publish (E401,E404orENEEDAUTH) instead of publishing silently with a long-lived token..github/workflows/release.yml: theNODE_AUTH_TOKENenv line and its comment removed; the header says no token is configured.docs/maintainer-guide.md: release-flow step 7 (no secret holds an npm token), step 10 (every version shows its trusted publisher), the credential paragraph, and the external-controls list.CONTRIBUTING.md: the release paragraph.No package changes, so no changeset. The next release from
mainis the live check:npm view @proofoftech/<package>@<version> _npmUser.trustedPublisher --jsonmust print the publisher.🤖 Generated with Claude Code