Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: npm run build

- name: Publish npm package
# NO --provenance: npm rejects provenance attestations from private
# source repos (E422 "Unsupported ... visibility: private"). This repo
# is private, so provenance was intentionally dropped in 059d114.
run: npm publish --access public
# --provenance is automatic under trusted publishing, but explicit is
# self-documenting. Only valid once the source repo is PUBLIC — npm
# rejects provenance from private repos (E422).
run: npm publish --access public --provenance
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"url": "https://github.com/fullstorydev/subtext-wizard.git"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provenance blocks local npm publish

Medium Severity

Setting publishConfig.provenance to true makes every npm publish attempt Sigstore provenance, which needs a CI OIDC provider. Local publishes (including with the existing prepublishOnly script) fail with automatic provenance errors even after the GitHub repo is public. CI can use --provenance alone.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b3c64e9. Configure here.

},
"keywords": [
"subtext",
Expand Down