Repository navigation
v1.6.0: The GitHub Action checks the packslip CLI it downloads against a SHA-256 pinned in the action commit
·
1 commit
to 37134cc0968448f4e926052ee412e198fb8d0c54
since this release
Immutable
release. Only release title and notes can be modified.
The jdx/packslip GitHub Action now checks the packslip CLI archive it downloads against a SHA-256 digest stored in the action commit itself. Pinning the action to a full commit SHA therefore also pins the CLI it runs. Release builds now come from a reviewed candidate, which changes the provenance of packslip's own release files (see Changed). The packslip format is unchanged and still version 1.
Added
- The action checks the default CLI download against a pinned digest. Each released action commit now includes
action/release.json, which holds the SHA-256 of the CLI archive for all five supported platforms. With the default CLI version, the action checks the downloaded archive against that digest before it verifies provenance or extracts anything. It stops with an error if the digest is missing, malformed, or doesn't match. Provenance is then checked against the exact commit and workflow that built the archive. Your workflow doesn't need its own per-platform hashes. (#194, #195, @jdx)- uses: jdx/packslip@<full-commit-sha> # v1.6.0
- New
packslip-sha256input for the action and forjdx/packslip/releases. It pins the downloaded archive when you setpackslip-versionexplicitly. With the default version, a digest you supply must match the action's own copy. The input is ignored whenpackslip-pathis set. (#194, #195, @jdx)An explicit- uses: jdx/packslip@<full-commit-sha> with: packslip-version: 1.5.1 packslip-sha256: d401822be0f4c0494dde170657499fc197709b530e18b547906dafe05c155d45
packslip-versionwithoutpackslip-sha256keeps the old provenance-only check and prints a warning.
Changed
- New release process and provenance for packslip's own releases. Starting with this release, packslip's binaries are built, signed, and attested from the release PR's
release-plzbranch before any version tag exists. The tag then publishes those same files without rebuilding them. Their build provenance therefore names the candidate commit onrefs/heads/release-plz, notrefs/tags/vX.Y.Z. The signed packslip.dev manifest records that build commit and leaves outsource.tag. If you verify packslip downloads with a policy that requires a build from the tag, such asgh attestation verify --source-ref refs/tags/v1.6.0, that check will fail; update the policy. The action'svX.Y.Ztag and the CLI release tag point to the same commit, andv1moves to it after publication. (#195, @jdx)
Breaking Changes
These apply only to the GitHub Action, not to the CLI or the format.
- Runners need
jqto read the action's digest file. GitHub-hosted runners already include it. On self-hosted runners and some macOS runners, install it before the action runs. - Pin the action to a released commit, or set
packslip-version. With the default CLI version, a checkout that has noaction/release.jsonnow fails with "the action checkout has no release digest map". This includes@mainand any unreleased commit. Use a release tag or a release commit SHA. You can also setpackslip-version, optionally withpackslip-sha256, or setpackslip-path.
Documentation
- The documentation is now organized around tasks. It covers installing the packslip CLI, installing tools such as mise with
packslip install --pin, using packslip with mise in both directions, installing packslip from the signed APT/RPM repositories, and pinning the container image by digest. The site header's "Spec & schemas" link now goes to/release/v1/, which links to downloadable schemas and explains what schema validation does and doesn't check. (#192, @jdx)
Full Changelog: v1.5.1...v1.6.0