Skip to content

ci: switch release attestation to actions/attest - #119

Merged
c-vigo merged 1 commit into
devfrom
chore/70-actions-attest
Jul 16, 2026
Merged

c-vigo merged 1 commit into
devfrom
chore/70-actions-attest

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Migrates the release provenance attestation from actions/attest-build-provenance to actions/attest, per upstream v4 guidance ("new implementations should use actions/attest instead" — attest-build-provenance is now a thin wrapper).

  • Drop-in swap: with only subject-path set, actions/attest emits the same SLSA build-provenance predicate (https://slsa.dev/provenance/v1).
  • Permissions unchanged (id-token: write + attestations: write): create-storage-record only applies when push-to-registry: true, which stays off.
  • Pinned to a1948c3 (v4.1.1).

Validated end-to-end: dispatched this branch's workflow against the published v0.3.0 tag (run 29509316383) — gh attestation verify passes with the new attestation carrying the identical predicate type as the wrapper-produced ones.

Refs: #70

As of v4, attest-build-provenance is a thin wrapper around
actions/attest, and upstream recommends new implementations use
actions/attest directly. With only subject-path set the action emits
the same SLSA build-provenance predicate under the identical
id-token + attestations grant (push-to-registry defaults off, so no
storage-record permission is needed). Pin v4.1.1.

Refs: #70
@c-vigo c-vigo added this to the 0.4 milestone Jul 16, 2026
@c-vigo c-vigo added chore General tasks (e.g. update dependencies, contact a manufacturer, read a paper) area:ci CI/CD, GitHub Actions, workflows labels Jul 16, 2026
@c-vigo
c-vigo merged commit a8e2134 into dev Jul 16, 2026
23 checks passed
@c-vigo
c-vigo deleted the chore/70-actions-attest branch July 16, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI/CD, GitHub Actions, workflows chore General tasks (e.g. update dependencies, contact a manufacturer, read a paper)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant