Skip to content

Commit 9534913

Browse files
committed
chore(ci): generate GitHub artifact attestations on release
1 parent e999091 commit 9534913

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
pull-requests: write
4646
# Needed for adding labels for PRs, we shouldn't actually need this, see https://github.com/orgs/community/discussions/156181
4747
issues: write
48+
# attestations and id-token for attest-build-provenance
49+
attestations: write
50+
id-token: write
4851
strategy:
4952
matrix:
5053
include:
@@ -103,3 +106,7 @@ jobs:
103106
GH_TOKEN: ${{github.token}}
104107
RELEASE_PLEASE_TAG_NAME: ${{steps.release.outputs.tag_name}}
105108
if: steps.release.outputs.release_created
109+
- uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # v3.2.0
110+
with:
111+
subject-checksums: sha256sums.txt
112+
if: steps.release.outputs.release_created

0 commit comments

Comments
 (0)