Add GitHub artifact attestations to release workflow#1494
Merged
j178 merged 1 commit intoj178:masterfrom Jan 30, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1494 +/- ##
=======================================
Coverage 91.51% 91.51%
=======================================
Files 87 87
Lines 18153 18153
=======================================
Hits 16612 16612
Misses 1541 1541 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
58d9ed8 to
1e9d0b4
Compare
📦 Cargo Bloat ComparisonBinary size change: +0.00% (22.5 MiB → 22.5 MiB) Expand for cargo-bloat outputHead Branch ResultsBase Branch Results |
1e9d0b4 to
f4513c6
Compare
Enable GitHub artifact attestations via cargo-dist's native support.
Consumers can verify release artifacts were built by CI:
gh attestation verify <artifact> --repo j178/prek
Closes j178#1493
f4513c6 to
1e015f5
Compare
Owner
|
Thanks! I think it would also be great to add attestation for our |
Collaborator
Author
|
Ah, I missed that. I'll make a follow up PR :) |
shaanmajid
added a commit
to shaanmajid/prek
that referenced
this pull request
Jan 30, 2026
Adds build provenance attestations for Docker images, similar to j178#1494 which added attestations for release artifacts. Consumers can verify Docker images were built by CI: gh attestation verify oci://ghcr.io/j178/prek:latest --repo j178/prek
shaanmajid
added a commit
to shaanmajid/prek
that referenced
this pull request
Jan 30, 2026
Adds build provenance attestations for Docker images so consumers can
verify images were built by CI:
gh attestation verify oci://ghcr.io/j178/prek:latest --repo j178/prek
Similar to j178#1494 which added attestations for release artifacts.
Reference: astral-sh/uv#8685
j178
pushed a commit
that referenced
this pull request
Jan 30, 2026
Adds [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) to the Docker build workflow so consumers can verify images were built by CI: ```bash gh attestation verify oci://ghcr.io/j178/prek:latest --repo j178/prek ``` Similar to #1494 which added attestations for release artifacts. Reference: [astral-sh/uv#8685](astral-sh/uv#8685)
This was referenced Jan 30, 2026
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.
Closes #1493
Adds actions/attest-build-provenance to the release workflow so consumers can verify artifacts were built by CI:
GitHub already generates release attestations that verify file integrity (checksums), but build provenance additionally proves the artifacts were produced by the CI workflow rather than uploaded manually.