Skip to content

Commit 4f1ba86

Browse files
authored
fix: Set 'repository.url' in package.json (#11)
The latest [“Publish to npm” workflow run](https://github.com/github/ariaNotify-polyfill/actions/runs/13503814665/job/37728589058) failed with: > npm error code E422 > npm error 422 Unprocessable Entity - PUT https://registry.npmjs.org/@github%2farianotify-polyfill - Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "", expected to match "https://github.com/github/ariaNotify-polyfill" from provenance This PR sets `repository.url` to `"git+https://github.com/github/ariaNotify-polyfill.git"`, similar to what we use in other repos (where similar publish workflows work). Notably, that’s different from `"https://github.com/github/ariaNotify-polyfill"`, the URL mentioned in the error message above—as a result, this PR may (or may not) fix the workflow error. If it doesn’t, then updating the value to `"https://github.com/github/ariaNotify-polyfill"` is the obvious next step.
2 parents 0261b1b + 77add79 commit 4f1ba86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "@github/arianotify-polyfill",
33
"version": "0.0.0-development",
44
"description": "Polyfill for the ARIA Notification API",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/github/ariaNotify-polyfill.git"
8+
},
59
"keywords": [],
610
"license": "MIT",
711
"author": "GitHub Inc.",

0 commit comments

Comments
 (0)