Skip to content

Commit a469194

Browse files
committed
ci: add attestations: write permissions
Signed-off-by: Rafael Passos <rafael@rcpassos.me>
1 parent 44a9316 commit a469194

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
actions: read # To read the workflow path.
1515
id-token: write # To sign the provenance.
1616
contents: write # To add assets to a release.
17+
attestations: write # add slsa attestations
1718
name: "Build and Publish Release"
1819
outputs:
1920
hashes: ${{ steps.hash.outputs.hashes }}
@@ -141,6 +142,7 @@ jobs:
141142
actions: read # To read the workflow path.
142143
id-token: write # To sign the provenance.
143144
contents: write # To add assets to a release.
145+
attestations: write # add slsa attestations
144146
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
145147
with:
146148
base64-subjects: "${{ needs.release.outputs.hashes }}"

0 commit comments

Comments
 (0)