Skip to content

Commit 0199b21

Browse files
committed
docs(release): clarify trusted publishing provenance [skip ci]
1 parent 9eebfbc commit 0199b21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/DISTRIBUTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Release GitHub writes use `putio-release-bot` for version sync commits, `v*` tag
2828

2929
The npm package uses Trusted Publishing from GitHub Actions. On npm, configure owner `putdotio`, repository `putio-sockjs`, workflow `ci.yml`, and Environment named `release` for the package.
3030

31-
The workflow grants `id-token: write` so npm mints short-lived publish credentials and provenance for the release job.
31+
During the `@semantic-release/npm` publish step, npm detects the GitHub OIDC identity, mints short-lived publish credentials, and publishes provenance for the release job.
3232

3333
The workflow keeps dependency caches only on the secretless verify job. The secret-bearing release job runs a fresh `vp install` with package-manager caching disabled before publishing to npm.
3434

0 commit comments

Comments
 (0)