Skip to content

v1.6.0: The GitHub Action checks the packslip CLI it downloads against a SHA-256 pinned in the action commit

Choose a tag to compare

@github-actions github-actions released this 05 Oct 03:51
· 1 commit to 37134cc0968448f4e926052ee412e198fb8d0c54 since this release
Immutable release. Only release title and notes can be modified.
2af36e7

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-sha256 input for the action and for jdx/packslip/releases. It pins the downloaded archive when you set packslip-version explicitly. With the default version, a digest you supply must match the action's own copy. The input is ignored when packslip-path is set. (#194, #195, @jdx)
    - uses: jdx/packslip@<full-commit-sha>
      with:
        packslip-version: 1.5.1
        packslip-sha256: d401822be0f4c0494dde170657499fc197709b530e18b547906dafe05c155d45
    An explicit packslip-version without packslip-sha256 keeps 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-plz branch before any version tag exists. The tag then publishes those same files without rebuilding them. Their build provenance therefore names the candidate commit on refs/heads/release-plz, not refs/tags/vX.Y.Z. The signed packslip.dev manifest records that build commit and leaves out source.tag. If you verify packslip downloads with a policy that requires a build from the tag, such as gh attestation verify --source-ref refs/tags/v1.6.0, that check will fail; update the policy. The action's vX.Y.Z tag and the CLI release tag point to the same commit, and v1 moves to it after publication. (#195, @jdx)

Breaking Changes

These apply only to the GitHub Action, not to the CLI or the format.

  • Runners need jq to 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 no action/release.json now fails with "the action checkout has no release digest map". This includes @main and any unreleased commit. Use a release tag or a release commit SHA. You can also set packslip-version, optionally with packslip-sha256, or set packslip-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