Skip to content

fix: match the repository URL case for npm provenance - #94

Merged
NathanWalker merged 1 commit into
mainfrom
fix/provenance-repository-url
Nov 25, 2026
Merged

NathanWalker merged 1 commit into
mainfrom
fix/provenance-repository-url

Conversation

@NathanWalker

Copy link
Copy Markdown
Contributor

What is the current behavior?

The Release Workflow now authenticates through OIDC trusted publishing, but npm rejects the publish while verifying provenance:

422 Unprocessable Entity - PUT https://registry.npmjs.org/@nativescript%2fnx - Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "git+https://github.com/nativescript/nx.git", expected to match "https://github.com/NativeScript/nx" ...

npm compares repository.url with the repository that built the package, and the comparison is case-sensitive. This happened in run 45720834000, after #90 merged.

What is the new behavior?

repository.url and bugs.url in packages/nx/package.json use NativeScript/nx. Merging this triggers the automatic next publish from main, which tests provenance before the manual 24.0.0 release.

npm verifies the provenance bundle against repository.url case-sensitively, so publishing from NativeScript/nx was rejected with E422.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 818a890d-5586-4945-93ae-f1e770175c14

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@NathanWalker
NathanWalker merged commit 75afdf2 into main Nov 25, 2026
7 checks passed
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