Skip to content

Commit 0ece690

Browse files
authored
Revert "ci: pin slsa-framework action to sha" (#2678)
Reverts #2610 According to slsa documentation, only tags are supported: https://github.com/slsa-framework/slsa-github-generator/blob/main/README.md#referencing-slsa-builders-and-generators
1 parent 7f7d8c3 commit 0ece690

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
actions: read # To read the workflow path.
7575
id-token: write # To sign the provenance.
7676
contents: write # To add assets to a release.
77-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
77+
# This must be a tag, not a hash: https://github.com/slsa-framework/slsa-github-generator/blob/main/README.md#referencing-slsa-builders-and-generators
78+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
7879
with:
7980
base64-subjects: "${{ needs.goreleaser.outputs.hashes }}"
8081
upload-assets: true # upload to a new release

0 commit comments

Comments
 (0)