Skip to content

Commit 4655d16

Browse files
authored
Update github-actions (slsa-framework#648)
1 parent e178bc7 commit 4655d16

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
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@575bdd242ac0bc503966cedac1dabb42515b545f
37+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
65+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
39+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
21+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
71+
uses: slsa-framework/slsa-github-generator/.github/actions/rng@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@d995948e8d53cc639c0d3ef69db31dbc243519c4 # tag=v1.1.1
83+
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@bdd89e60dc5387d8f819bebc702987956bcd4913 # tag=v1.2.0
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@575bdd242ac0bc503966cedac1dabb42515b545f
98+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
131+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
136+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
169+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
174+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
220+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
241+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
293+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
300+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # tag=v2.1.16
47+
uses: github/codeql-action/init@0c670bbf0414f39666df6ce8e718ec5662c21e03 # tag=v2.1.17
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@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # tag=v2.1.16
60+
uses: github/codeql-action/autobuild@0c670bbf0414f39666df6ce8e718ec5662c21e03 # tag=v2.1.17
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@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # tag=v2.1.16
73+
uses: github/codeql-action/analyze@0c670bbf0414f39666df6ce8e718ec5662c21e03 # tag=v2.1.17

.github/workflows/generator_container_slsa3.yml

+3-3
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@575bdd242ac0bc503966cedac1dabb42515b545f
60+
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
84+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@e178bc7b362c7cb93899a9721da7a0d7d1286869
8585
with:
8686
repository: "${{ needs.detect-env.outputs.repository }}"
8787
ref: "${{ needs.detect-env.outputs.ref }}"
@@ -91,7 +91,7 @@ jobs:
9191
# NOTE: We are using the generic generator.
9292
directory: "${{ env.BUILDER_DIR }}"
9393

94-
- uses: sigstore/cosign-installer@48866aa521d8bf870604709cd43ec2f602d03ff2 # tag=v2.4.1
94+
- uses: sigstore/cosign-installer@09a077b27eb1310dcfb21981bee195b30ce09de0 # tag=v2.5.0
9595
- name: Login
9696
env:
9797
UNTRUSTED_IMAGE: "${{ inputs.image }}"

.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@575bdd242ac0bc503966cedac1dabb42515b545f
72+
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
96+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@e178bc7b362c7cb93899a9721da7a0d7d1286869
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@575bdd242ac0bc503966cedac1dabb42515b545f
151+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@e178bc7b362c7cb93899a9721da7a0d7d1286869
152152
with:
153153
name: "${{ inputs.attestation-name }}"
154154
path: "${{ inputs.attestation-name }}"

.github/workflows/pre-submit.units.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ jobs:
6565
if: ${{ always() }}
6666
steps:
6767
- name: Checkout
68-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # tag=v2.3.4
68+
uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # tag=v2.4.2
6969
with:
7070
path: generator
7171

7272
- name: Checkout
73-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # tag=v2.3.4
73+
uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # tag=v2.4.2
7474
with:
7575
path: verifier
7676
repository: slsa-framework/slsa-verifier

.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@3e7e3b32d0fb8283594bb0a76cc60a00918b0969 # tag=v2.1.16
60+
uses: github/codeql-action/upload-sarif@0c670bbf0414f39666df6ce8e718ec5662c21e03 # tag=v2.1.17
6161
with:
6262
sarif_file: results.sarif

0 commit comments

Comments
 (0)