Skip to content

fix(npm): add repository field for provenance verification#6

Merged
polaz merged 1 commit into
mainfrom
fix/add-repository-field-for-npm-provenance
May 6, 2026
Merged

fix(npm): add repository field for provenance verification#6
polaz merged 1 commit into
mainfrom
fix/add-repository-field-for-npm-provenance

Conversation

@polaz
Copy link
Copy Markdown
Contributor

@polaz polaz commented May 6, 2026

Run failed:

npm error 422 ... Error verifying sigstore provenance bundle:
Failed to validate repository information: package.json: "repository.url" is "",
expected to match "https://github.com/structured-id/ui-core" from provenance

npm publish --provenance cross-checks package.json repository.url against the GitHub repo of the workflow that minted the OIDC token. Empty/missing field → bundle verification fails.

Add repository, homepage, bugs fields pointing to github.com/structured-id/ui-core.

Test plan

  • After merge: next Release run completes npm publish via OIDC

npm publish --provenance requires package.json repository.url to match
the GitHub repo URL. Without it: 'Error verifying sigstore provenance
bundle: Failed to validate repository information'.
@polaz polaz merged commit 1047b3b into main May 6, 2026
1 check passed
@sid-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant