ci: attach the provenance DSSE envelope to releases as .intoto.jsonl - #95
Merged
Merged
Conversation
Scorecard Signed-Releases credits provenance only to release assets named *.intoto.jsonl. The release job already uploads the attest-build-provenance Sigstore bundle; it now also extracts the bundle's DSSE envelope with jq and uploads it as <artifact>.intoto.jsonl beside it. npm and GHCR publishing are unchanged.
sprayberry-redline
approved these changes
Sep 26, 2026
sprayberry-redline
left a comment
Collaborator
There was a problem hiding this comment.
Verdict: approve. The release job now extracts the DSSE envelope from the attest-build-provenance Sigstore bundle with jq -ec and uploads it as cordon-<tag>-image.intoto.jsonl alongside the existing bundle asset. The inputs are step outputs rather than untrusted event data, -e under set -e aborts the step before any upload if the bundle lacks the envelope, and the job already carries the contents: write scope the upload requires, so the change holds as written.
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.
Signed-Releases: attach provenance as
.intoto.jsonlScorecard Signed-Releases credits provenance only to release assets named
*.intoto.jsonl. The release job already uploads theactions/attest-build-provenanceSigstore bundle (.sigstore.json); it now also runsjq -ec .dsseEnvelopeon that bundle and uploads the result asARTIFACT.intoto.jsonlbeside it. npm and GHCR publishing are unchanged.The v0.3 bundle format was checked against the latest release asset:
.dsseEnvelopeholds the in-toto SLSA v1 provenance statement (payloadType: application/vnd.in-toto+json), andjq -ecemits it as one line.-efails the step if a bundle ever lacks the envelope instead of uploadingnull.Takes effect on the next release; actionlint is clean.