Commit 4c82180
authored
[π₯AUDITπ₯] Add missing package.json keys that are needed for OIDC (#92)
π _This is an audit!_ π
## Summary:
Trusted Publishing (OIDC) requires a `repository` key in the `package.json` with a `url` defined.
This PR adds the required fields and hopefully fixes the last publish issue.
Error:
```
π¦ info npm info @khanacademy/graphql-flow
π¦ info @khanacademy/graphql-flow is being published because our local version (3.4.2) has not been published on npm
π¦ info Publishing "@khanacademy/graphql-flow" at "3.4.2"
π¦ error an error occurred while publishing @khanacademy/graphql-flow: E422 422 Unprocessable Entity - PUT https://registry.npmjs.org/@khanacademy%2fgraphql-flow - Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "", expected to match "https://github.com/Khan/graphql-flow" from provenance
π¦ error npm notice SECURITY NOTICE: Breaking changes starting October 13, 2025. New tokens will be limited to a maximum lifetime of 90 days, and TOTP setup will be disabled. Classic tokens will be revoked in November. Update your CI/CD workflows to avoid disruption. Learn more: https://gh.io/npm-token-changes
π¦ error npm notice Publishing to https://registry.npmjs.org with tag latest and public access
π¦ error npm notice publish Signed provenance statement with source and build information from GitHub Actions
π¦ error npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=653196413
π¦ error npm error code E422
π¦ error npm error 422 Unprocessable Entity - PUT https://registry.npmjs.org/@khanacademy%2fgraphql-flow - Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "", expected to match "https://github.com/Khan/graphql-flow" from provenance
π¦ error npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-10-29T22_19_58_512Z-debug-0.log
π¦ error
π¦ error packages failed to publish:
π¦ @khanacademy/graphql-flow@3.4.2
```
Issue: "none"
## Test plan:
Hrm
Author: jeremywiebe
Auditors: jaredly
Required Reviewers:
Approved By:
Checks: β
1 check was successful
Pull Request URL: #921 parent 31d5b18 commit 4c82180
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 | | |
5 | 12 | | |
6 | 13 | | |
| |||
0 commit comments