-
Notifications
You must be signed in to change notification settings - Fork 46
ci: implement immutable releases support with actions/attest #413
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
Merged
+42
−65
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8b27a20
ci: use draft releases to support immutable GitHub releases
keelerm84 6698515
ci: add force-tag-creation and publish_release option
keelerm84 fda68d7
ci: simplify for attestation-only releases (no draft needed)
keelerm84 6378f68
ci: remove force-tag-creation from attestation-only repo
keelerm84 21f2567
ci: switch from subject-checksums to subject-path for attestation
keelerm84 6a189a1
ci: remove unused tag input and orphaned job outputs
keelerm84 efadac5
ci: fix inconsistent dry_run condition style
keelerm84 3e77b7b
ci: use format() for dry_run conditions to handle both string and boo…
keelerm84 2bfd140
docs: update PROVENANCE.md and README.md for GitHub artifact attestat…
keelerm84 59d9245
docs: use real gh attestation verify output template and --owner flag
keelerm84 1e7fd43
docs: restore original SLSA framework text in README.md
keelerm84 429a12d
ci: apply split release-please pattern for immutable releases
keelerm84 31b6111
ci: use release_created consistently in single-package repo
keelerm84 26ca14f
Revert "ci: use release_created consistently in single-package repo"
keelerm84 ecee684
Revert "ci: apply split release-please pattern for immutable releases"
keelerm84 376a848
ci: remove unused step IDs and fix stale permission comments
keelerm84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,9 @@ | ||
| name: Build distribution files | ||
| description: 'Build distribution files' | ||
| outputs: | ||
| package-hashes: | ||
| description: "base64-encoded sha256 hashes of distribution files" | ||
| value: ${{ steps.package-hashes.outputs.package-hashes }} | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Build distribution files | ||
| shell: bash | ||
| run: poetry build | ||
| - name: Hash build files for provenance | ||
| id: package-hashes | ||
| shell: bash | ||
| working-directory: ./dist | ||
| run: | | ||
| echo "package-hashes=$(sha256sum * | base64 -w0)" >> "$GITHUB_OUTPUT" |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.