Skip to content

Commit 144bba3

Browse files
authored
Update github-actions (#723)
1 parent 950808b commit 144bba3

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
37+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
65+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@950808bd3049727b4caea680f48b367fc596adf6
6666
id: compute
6767
with:
6868
path: "${{ inputs.binary }}"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636

3737
- name: Compute the hash
3838
id: compute
39-
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
39+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@950808bd3049727b4caea680f48b367fc596adf6
4040
with:
4141
path: "${{ inputs.path }}"
4242

.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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
21+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@950808bd3049727b4caea680f48b367fc596adf6
2222
with:
2323
path: "${{ inputs.path }}"
2424

.github/workflows/builder_go_slsa3.yml

+10-10
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
71+
uses: slsa-framework/slsa-github-generator/.github/actions/rng@950808bd3049727b4caea680f48b367fc596adf6
7272

7373
detect-env:
7474
outputs:
@@ -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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
98+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
131+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
136+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
169+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
174+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
220+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
241+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
293+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@950808bd3049727b4caea680f48b367fc596adf6
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@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
300+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@950808bd3049727b4caea680f48b367fc596adf6
301301
with:
302302
name: "${{ needs.provenance.outputs.go-provenance-name }}"
303303
path: "${{ needs.provenance.outputs.go-provenance-name }}"

.github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@f5d217be74900c6ac8fbbe53f3c10376ba4e64da # tag=v2.1.19
47+
uses: github/codeql-action/init@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -57,7 +57,7 @@ jobs:
5757
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5858
# If this step fails, then you should remove it and run the build manually (see below)
5959
- name: Autobuild
60-
uses: github/codeql-action/autobuild@f5d217be74900c6ac8fbbe53f3c10376ba4e64da # tag=v2.1.19
60+
uses: github/codeql-action/autobuild@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20
6161

6262
# Command-line programs to run using the OS shell.
6363
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -70,4 +70,4 @@ jobs:
7070
# ./location_of_script_within_repo/buildscript.sh
7171

7272
- name: Perform CodeQL Analysis
73-
uses: github/codeql-action/analyze@f5d217be74900c6ac8fbbe53f3c10376ba4e64da # tag=v2.1.19
73+
uses: github/codeql-action/analyze@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20

.github/workflows/generator_container_slsa3.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
steps:
5858
- name: Detect the generator ref
5959
id: detect
60-
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
60+
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@950808bd3049727b4caea680f48b367fc596adf6
6161

6262
# generator builds the generator binary and runs it to generate SLSA
6363
# provenance.
@@ -81,7 +81,7 @@ jobs:
8181
packages: write
8282
steps:
8383
- name: Generate builder
84-
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
84+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@950808bd3049727b4caea680f48b367fc596adf6
8585
with:
8686
repository: "${{ needs.detect-env.outputs.repository }}"
8787
ref: "${{ needs.detect-env.outputs.ref }}"

.github/workflows/generator_generic_slsa3.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
steps:
7070
- name: Detect the generator ref
7171
id: detect
72-
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
72+
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@950808bd3049727b4caea680f48b367fc596adf6
7373

7474
# generator builds the generator binary and runs it to generate SLSA
7575
# provenance.
@@ -93,7 +93,7 @@ jobs:
9393
actions: read
9494
steps:
9595
- name: Generate builder
96-
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
96+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@950808bd3049727b4caea680f48b367fc596adf6
9797
with:
9898
repository: "${{ needs.detect-env.outputs.repository }}"
9999
ref: "${{ needs.detect-env.outputs.ref }}"
@@ -148,7 +148,7 @@ jobs:
148148
if: startsWith(github.ref, 'refs/tags/') && inputs.upload-assets == true
149149
steps:
150150
- name: Download the provenance
151-
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
151+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@950808bd3049727b4caea680f48b367fc596adf6
152152
with:
153153
name: "${{ inputs.attestation-name }}"
154154
path: "${{ inputs.attestation-name }}"

.github/workflows/scorecards.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757

5858
# Upload the results to GitHub's code scanning dashboard.
5959
- name: "Upload to code-scanning"
60-
uses: github/codeql-action/upload-sarif@f5d217be74900c6ac8fbbe53f3c10376ba4e64da # tag=v2.1.19
60+
uses: github/codeql-action/upload-sarif@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20
6161
with:
6262
sarif_file: results.sarif

0 commit comments

Comments
 (0)