Uh oh!
There was an error while loading. Please reload this page.
Add build provenance attestation to the release workflow - #128
Merged
Conversation
asgrim
reviewed
Nov 25, 2024
Uh oh!
There was an error while loading. Please reload this page.
This attestation proves that a given pie.phar was created by the release.yml workflow running for a specific commit. Verification is possible using the `gh` CLI as follows: gh attestation verify --owner php pie.phar For the test in my fork, the output looked like this: $ gh attestation verify --owner TimWolla pie.phar Loaded digest sha256:0dc7f9c88341fc1beac5746658e4a859a1abe8b3f6a62aa9f10c9ec39ff42b53 for file://pie.phar Loaded 2 attestations from GitHub API ✓ Verification succeeded! sha256:0dc7f9c88341fc1beac5746658e4a859a1abe8b3f6a62aa9f10c9ec39ff42b53 was attested by: REPO PREDICATE_TYPE WORKFLOW TimWolla/php-pie https://slsa.dev/provenance/v1 .github/workflows/release.yml@refs/tags/release-action-build-provenance-1 TimWolla/php-pie https://slsa.dev/provenance/v1 .github/workflows/release.yml@refs/heads/release-action-build-provenance
TimWollaforce-pushed
the
release-action-build-provenance
branch
from
November 25, 2024 09:16
abac1b8 to
ec456ffCompareTimWolla
commented
Nov 25, 2024
MemberAuthor
Rebased now. |
TimWolla
commented
Nov 25, 2024
MemberAuthor
Test failure is unrelated. Might be necessary to implicitly pass |
TimWolla
marked this pull request as ready for review
November 25, 2024 09:31
asgrim
approved these changes
Nov 25, 2024
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 freeto 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.
This PR builds upon #127 and includes that one as a subset. I will rebase it after #127 is merged.
This attestation proves that a given pie.phar was created by the release.yml workflow running for a specific commit.
Verification is possible using the
ghCLI as follows:For the test in my fork, the output looked like this: