Skip to content

fix: repository.url → open-gitagent/opengap (unblocks provenance publish)#84

Merged
shreyas-lyzr merged 1 commit into
mainfrom
fix/repository-url-for-provenance
May 24, 2026
Merged

fix: repository.url → open-gitagent/opengap (unblocks provenance publish)#84
shreyas-lyzr merged 1 commit into
mainfrom
fix/repository-url-for-provenance

Conversation

@shreyas-lyzr
Copy link
Copy Markdown
Contributor

Problem

npm publish --provenance failed with:

npm error 422 Unprocessable Entity — Error verifying sigstore provenance bundle:
repository.url is "git+https://github.com/open-gitagent/gitagent.git",
expected to match "https://github.com/open-gitagent/opengap" from provenance

The repo was renamed to opengap but package.json still pointed repository.url and bugs.url at the original open-gitagent/gitagent. Provenance attestation requires the URL to match the building repo.

Fix

  • repository.urlgit+https://github.com/open-gitagent/opengap.git (the git+ prefix also silences npm's auto-correction warning)
  • bugs.urlhttps://github.com/open-gitagent/opengap/issues

Test plan

  • Re-run v0.4.0 release → provenance publish succeeds for scoped + unscoped

npm publish --provenance failed with E422: the sigstore provenance bundle
requires repository.url to match the repo the build runs in. It still
pointed at open-gitagent/gitagent (the original repo name). Updates
repository.url (with git+ prefix to avoid npm auto-correction) and
bugs.url to open-gitagent/opengap.
@shreyas-lyzr shreyas-lyzr merged commit 22fc939 into main May 24, 2026
3 checks passed
@shreyas-lyzr shreyas-lyzr deleted the fix/repository-url-for-provenance branch May 24, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant