Skip to content

Commit

Permalink
Really fix the permissions this time (#2341)
Browse files Browse the repository at this point in the history
(I hope)

Signed-off-by: Ben Cotton <[email protected]>
  • Loading branch information
funnelfiasco authored Dec 5, 2024
1 parent 495c58e commit 9baf1f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ jobs:
name: generate provenance for binaries
needs: [goreleaser]
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: read
id-token: write
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] # must use semver here
with:
base64-subjects: "${{ needs.goreleaser.outputs.hashes }}"
Expand All @@ -185,6 +188,7 @@ jobs:
needs: [goreleaser]
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: read
id-token: write # To use our GitHub token
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] # must use semver here
with:
Expand Down

0 comments on commit 9baf1f2

Please sign in to comment.