Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Publish provenance for the exact RE2 source ZIP referenced by Bazel Central Registry.
RE2 already signs its release archives with Sigstore. This change additionally generates GitHub/SLSA build provenance for the release ZIP and publishes the bundle alongside the existing release assets as
re2-${tag}.zip.intoto.jsonl.Archive identity
RE2's BCR source template resolves to:
For the live
2025-11-05entry, BCR references:Its BCR integrity value decodes to:
That matches the SHA-256 of the published release ZIP.
The provenance subject is that same
re2-${tag}.zipfile. The identity link to BCR therefore comes from BCR's source URL and digest selecting the same archive bytes; the attestation itself does not assert that BCR consumed or accepted the artifact.Change
The release workflow now:
The existing BCR publisher remains at
attest: false.BCR currently verifies source-archive provenance against the bazel-contrib
release_rulesetbuilder identity. RE2 keeps its existing release workflow here, so this PR does not claim to enable BCRattestations.jsonverification. That would require adopting the supported release builder or a future BCR verifier-policy change.No RE2 source, library, archive contents, or BCR source URL changes.
Validation
source.jsonintegrity valuerelease.ymlare pinned to full commit SHAsgit diff --check: PASS