Skip to content

fix: add repository field so provenance validation passes - #13

Merged
nicknisi merged 1 commit into
mainfrom
fix/repository-field-for-provenance
Aug 14, 2026
Merged

fix: add repository field so provenance validation passes#13
nicknisi merged 1 commit into
mainfrom
fix/repository-field-for-provenance

Conversation

@nicknisi

Copy link
Copy Markdown
Member

npm hard-requires repository.url to match the repo attested in the OIDC provenance bundle. Without it, provenance-signed publishes fail:

E422 Unprocessable Entity - Error verifying sigstore provenance bundle:
"repository.url" is "", expected to match "https://github.com/workos/authkit-electron"

This is the last blocker for CI publishes (failed run). Merging this will make release-please cut v0.1.2, and that release will publish cleanly via trusted publishing.

npm rejects provenance-signed publishes (E422) when package.json
repository.url does not match the repo the OIDC token attests to.
This is what failed the v0.1.1 publish after trusted publishing was
configured.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@nicknisi
nicknisi merged commit d4133cd into main Aug 14, 2026
6 checks passed
@greptile-apps

greptile-apps Bot commented Aug 14, 2026

Copy link
Copy Markdown

Greptile Summary

Adds canonical GitHub repository metadata to the package manifest so npm can validate trusted-publishing provenance.

  • Declares the repository type as Git.
  • Sets the repository URL to git+https://github.com/workos/authkit-electron.git.

Confidence Score: 5/5

The PR appears safe to merge with no actionable defects identified.

The added repository URL matches the project’s canonical remote, and the release workflow publishes from this root manifest without a conflicting metadata source.

Important Files Changed

Filename Overview
package.json Adds valid repository metadata matching the canonical GitHub repository; no actionable issues identified.

Reviews (1): Last reviewed commit: "fix: add repository field so provenance ..." | Re-trigger Greptile

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant