Skip to content

Commit

Permalink
ci: Generate provenance on a tag only.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Apr 26, 2024
1 parent 1474283 commit 17426aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
binary-provenance:
needs: [goreleaser]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
Expand Down Expand Up @@ -106,6 +107,7 @@ jobs:
image-provenance:
needs: [goreleaser]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
permissions:
actions: read
id-token: write
Expand Down

0 comments on commit 17426aa

Please sign in to comment.