Skip to content

Commit 96727e9

Browse files
committed
ci: attest release archives
goreleaser has no attestation of its own — the documented route is actions/attest after it runs. subject-checksums attests every file listed in checksums.txt, so all six archives are covered without naming them. Verify with `gh attestation verify --owner Flagsmith <file>`. beep boop
1 parent d317ec1 commit 96727e9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
permissions:
1414
contents: write # upload release artifacts
15+
id-token: write # attest artifacts
16+
attestations: write
1517
steps:
1618
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1719
with:
@@ -26,3 +28,7 @@ jobs:
2628
args: release --clean
2729
env:
2830
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
# Attests every file listed in the checksum file.
32+
- uses: actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d # v4.2.1
33+
with:
34+
subject-checksums: ./dist/checksums.txt

0 commit comments

Comments
 (0)