Skip to content

Commit 48bede7

Browse files
authored
feat: bump Action hashes (slsa-framework#533)
* update * update
1 parent 1d646d7 commit 48bede7

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

.github/actions/generate-builder/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
using: "composite"
3535
steps:
3636
- name: Checkout the Go builder repository
37-
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@ab345b0851aceba69a2ce8f3d2084f6e7d887850
37+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@1d646d70aeba1516af69fb0ef48206580122449b
3838
with:
3939
repository: "${{ inputs.repository }}"
4040
ref: "${{ inputs.ref }}"
@@ -62,7 +62,7 @@ runs:
6262
run: ./.github/actions/generate-builder/generate-builder.sh
6363

6464
- name: Compute sha256 of builder
65-
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@ab345b0851aceba69a2ce8f3d2084f6e7d887850
65+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@1d646d70aeba1516af69fb0ef48206580122449b
6666
id: compute
6767
with:
6868
path: "${{ inputs.binary }}"

.github/actions/secure-download-artifact/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: "Secure artifact download"
22
description: "Download an artifact and verify its SHA256"
33
inputs:
44
name:
5-
description: "Artifact name. (Note: this is a name given to an upload, not the path or filename)"
5+
description: "Artifact name. (Note: this is a name given to an upload, not the path or filename)."
66
required: true
77
path:
8-
description: "The path of the artifact, as uploaded by the secure-upload-artifact or actions/upload-artifact GHA."
8+
description: "The path of the artifact. (Note: should be the same as the `path` argument passed to secure-upload-artifact or actions/upload-artifact GHA)."
99
required: true
1010
sha256:
1111
description: "SHA256 of the file for verification."
@@ -24,7 +24,7 @@ runs:
2424

2525
- name: Compute the hash
2626
id: compute
27-
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@ab345b0851aceba69a2ce8f3d2084f6e7d887850
27+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@1d646d70aeba1516af69fb0ef48206580122449b
2828
with:
2929
path: "${{ inputs.path }}"
3030

.github/actions/secure-upload-artifact/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
steps:
1919
- name: Compute binary hash
2020
id: compute-digest
21-
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@ab345b0851aceba69a2ce8f3d2084f6e7d887850
21+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@1d646d70aeba1516af69fb0ef48206580122449b
2222
with:
2323
path: "${{ inputs.path }}"
2424

.github/workflows/builder_go_slsa3.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
steps:
6969
- name: Generate random 16-byte value (32-char hex encoded)
7070
id: rng
71-
uses: slsa-framework/slsa-github-generator/.github/actions/rng@aa37b206ed0a2326ecad4023d24a07eaeca4520c
71+
uses: slsa-framework/slsa-github-generator/.github/actions/rng@1d646d70aeba1516af69fb0ef48206580122449b
7272

7373
detect-env:
7474
outputs:
@@ -80,7 +80,7 @@ jobs:
8080
steps:
8181
- name: Detect the builder ref
8282
id: detect
83-
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@ab345b0851aceba69a2ce8f3d2084f6e7d887850 # tag=v1.1.1
83+
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@1d646d70aeba1516af69fb0ef48206580122449b # tag=v1.1.1
8484

8585
###################################################################
8686
# #
@@ -95,7 +95,7 @@ jobs:
9595
steps:
9696
- name: Generate builder
9797
id: generate
98-
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@aa37b206ed0a2326ecad4023d24a07eaeca4520c
98+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@1d646d70aeba1516af69fb0ef48206580122449b
9999
with:
100100
repository: "${{ needs.detect-env.outputs.repository }}"
101101
ref: "${{ needs.detect-env.outputs.ref }}"
@@ -128,12 +128,12 @@ jobs:
128128
needs: [builder, rng]
129129
steps:
130130
- name: Checkout the Go repository
131-
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@ab345b0851aceba69a2ce8f3d2084f6e7d887850
131+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@1d646d70aeba1516af69fb0ef48206580122449b
132132
with:
133133
go-version: ${{ inputs.go-version }}
134134

135135
- name: Download builder
136-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@ab345b0851aceba69a2ce8f3d2084f6e7d887850
136+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@1d646d70aeba1516af69fb0ef48206580122449b
137137
with:
138138
name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}"
139139
path: "${{ env.BUILDER_BINARY }}"
@@ -166,12 +166,12 @@ jobs:
166166
needs: [builder, build-dry, rng]
167167
steps:
168168
- name: Checkout the Go repository
169-
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@ab345b0851aceba69a2ce8f3d2084f6e7d887850
169+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@1d646d70aeba1516af69fb0ef48206580122449b
170170
with:
171171
go-version: ${{ inputs.go-version }}
172172

173173
- name: Download builder
174-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@ab345b0851aceba69a2ce8f3d2084f6e7d887850
174+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@1d646d70aeba1516af69fb0ef48206580122449b
175175
with:
176176
name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}"
177177
path: "${{ env.BUILDER_BINARY }}"
@@ -217,7 +217,7 @@ jobs:
217217
218218
- name: Upload generated binary
219219
id: upload
220-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@ab345b0851aceba69a2ce8f3d2084f6e7d887850
220+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@1d646d70aeba1516af69fb0ef48206580122449b
221221
with:
222222
name: "${{ needs.build-dry.outputs.go-binary-name }}"
223223
path: "${{ needs.build-dry.outputs.go-binary-name }}"
@@ -238,7 +238,7 @@ jobs:
238238
go-provenance-sha256: ${{ steps.sign-prov.outputs.signed-provenance-sha256 }}
239239
steps:
240240
- name: Download builder
241-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@ab345b0851aceba69a2ce8f3d2084f6e7d887850
241+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@1d646d70aeba1516af69fb0ef48206580122449b
242242
with:
243243
name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}"
244244
path: "${{ env.BUILDER_BINARY }}"
@@ -290,14 +290,14 @@ jobs:
290290
if: startsWith(github.ref, 'refs/tags/') && inputs.upload-assets == true
291291
steps:
292292
- name: Download binary
293-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@ab345b0851aceba69a2ce8f3d2084f6e7d887850
293+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@1d646d70aeba1516af69fb0ef48206580122449b
294294
with:
295295
name: "${{ needs.build-dry.outputs.go-binary-name }}"
296296
path: "${{ needs.build-dry.outputs.go-binary-name }}"
297297
sha256: "${{ needs.build.outputs.go-binary-sha256 }}"
298298

299299
- name: Download provenance
300-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@ab345b0851aceba69a2ce8f3d2084f6e7d887850
300+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@1d646d70aeba1516af69fb0ef48206580122449b
301301
with:
302302
name: "${{ needs.provenance.outputs.go-provenance-name }}"
303303
path: "${{ needs.provenance.outputs.go-provenance-name }}"

.github/workflows/generator_generic_slsa3.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- name: Detect the generator ref
6262
id: detect
63-
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@ab345b0851aceba69a2ce8f3d2084f6e7d887850
63+
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@1d646d70aeba1516af69fb0ef48206580122449b
6464

6565
# generator builds the generator binary and runs it to generate SLSA
6666
# provenance.
@@ -85,7 +85,7 @@ jobs:
8585
actions: read
8686
steps:
8787
- name: Generate builder
88-
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@aa37b206ed0a2326ecad4023d24a07eaeca4520c
88+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@1d646d70aeba1516af69fb0ef48206580122449b
8989
with:
9090
repository: "${{ needs.detect-env.outputs.repository }}"
9191
ref: "${{ needs.detect-env.outputs.ref }}"
@@ -133,7 +133,7 @@ jobs:
133133
if: startsWith(github.ref, 'refs/tags/') && inputs.upload-assets == true
134134
steps:
135135
- name: Download the provenance
136-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@ab345b0851aceba69a2ce8f3d2084f6e7d887850
136+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@1d646d70aeba1516af69fb0ef48206580122449b
137137
with:
138138
name: "${{ needs.generator.outputs.attestation-name }}"
139139
sha256: "${{ needs.generator.outputs.attestation-sha256 }}"

0 commit comments

Comments
 (0)