Repository navigation
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.
ci: automate releases with release-plz and support immutable releases #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
ci: automate releases with release-plz and support immutable releases #59
Changes from all commits
e8e996fFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: sou1118/typdiff
Length of output: 8155
Script executed:
Repository: sou1118/typdiff
Length of output: 18236
Web query:
GitHub actions attest v4.2.2 build provenance source digest github sha workflow event checkout tag attestationResult:
Script executed:
Repository: sou1118/typdiff
Length of output: 22579
Web query:
GitHub Actions documentation workflow_call github context always associated with caller workflow workflow_dispatch GITHUB_SHA branch or tag last commitResult:
Script executed:
Repository: sou1118/typdiff
Length of output: 30283
Web query:
GitHub Actions OIDC token claims sha ref commit triggered workflow documentationResult:
Web query:
site:docs.github.com/en/actions/reference/security/oidc "sha" "commit" "workflow" OIDC claimResult:
Web query:
GitHub actions buildtypes workflow v1 provenance resolvedDependencies OIDC sha triggering workflow commitResult:
Web query:
GitHub OIDC "sha" "commit SHA" "workflow" token claim github actionsResult:
Align the attestation with the release tag.
When the caller’s commit differs from the release tag, the build uses the tag but the attestation identifies the caller’s source. Consumers can receive misleading provenance or fail source-bound verification. Ensure the attestation identifies the commit actually built.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
rg -n 'packslip|Resolve tag commit|steps\.tag\.outputs' .github release-plz.tomlRepository: sou1118/typdiff
Length of output: 839
Script executed:
Repository: sou1118/typdiff
Length of output: 33511
Web query:
GitHub Actions workflow_dispatch GITHUB_SHA last commit on GITHUB_REF reusable workflow github context caller official documentationResult:
Web query:
GNU Bash manual simple command exit status command substitution echo exit status assignment officialResult:
Script executed:
Repository: sou1118/typdiff
Length of output: 7109
Script executed:
Repository: sou1118/typdiff
Length of output: 26327
Fail the resolver when the commit lookup fails.
If
gh apifails,echostill succeeds and packslip falls back togithub.sha. On a manual retry, that SHA can differ from the release tag, so the signed metadata can name the wrong commit. Check the lookup before writing the output.Suggested fix
Committable suggestion
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.