chore(ci): switch publish to OIDC + provenance#2
Merged
Conversation
`1.0.0` shipped via the token-bootstrap path because npm has no pre-publish Trusted Publisher form for a not-yet-existing scoped package. The Trusted Publisher (`coroboros/pdf-cleaner` → workflow `ci.yml`, environment empty) is now configured on npm, and the two bootstrap secrets (`NPM_PACKAGE_REGISTRY_TOKEN` and `NPM_EXTRA_CONFIG`) have been deleted from the repo. Drop both lines from the reusable-workflow `secrets:` block. `javascript-npm-packages.yml@v0` declares both as `required: false`, so they pass through as empty and the publish step takes the OIDC + `--provenance` branch from `1.0.1` onward. `ci.yml` now byte-matches the canonical OIDC shape used by `@coroboros/clone`.
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.
Summary
1.0.0shipped via the token-bootstrap path because npm has no pre-publish Trusted Publisher form for a not-yet-existing scoped package.coroboros/pdf-cleaner→ workflowci.yml, environment empty) is now configured on npm, and both bootstrap secrets (NPM_PACKAGE_REGISTRY_TOKEN,NPM_EXTRA_CONFIG) have been deleted from the repo.secrets:block.javascript-npm-packages.yml@v0declares both asrequired: false, so they pass through as empty and the publish step takes the OIDC +--provenancebranch from1.0.1onward.ci.ymlnow byte-matches the canonical OIDC shape used by@coroboros/clone.Test plan
1.0.1and confirm thepublishjob takes the OIDC branch andnpm view @coroboros/pdf-cleaner --json | grep dist.attestationsshows a provenance attestation.