Skip to content

Commit 39f901a

Browse files
committed
Update github-actions
1 parent c565ad1 commit 39f901a

File tree

11 files changed

+26
-26
lines changed

11 files changed

+26
-26
lines changed

.github/actions/checkout-go/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ runs:
5656
token: "${{ inputs.token }}"
5757

5858
- name: Set up Go environment
59-
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # tag=v3.2.1
59+
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # tag=v3.3.0
6060
with:
6161
go-version: "${{ inputs.go-version }}"

.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@950808bd3049727b4caea680f48b367fc596adf6
37+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
65+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
39+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
21+
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
71+
uses: slsa-framework/slsa-github-generator/.github/actions/rng@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
98+
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
131+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
136+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
169+
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
174+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
220+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
241+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
293+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@950808bd3049727b4caea680f48b367fc596adf6
300+
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@c565ad10f0c2efdc6fcc8fe55b52845f85014dfa
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@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20
47+
uses: github/codeql-action/init@c7f292ea4f542c473194b33813ccd4c207a6c725 # tag=v2.1.21
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@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20
60+
uses: github/codeql-action/autobuild@c7f292ea4f542c473194b33813ccd4c207a6c725 # tag=v2.1.21
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@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20
73+
uses: github/codeql-action/analyze@c7f292ea4f542c473194b33813ccd4c207a6c725 # tag=v2.1.21

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
14-
- uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # tag=v3.2.1
14+
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # tag=v3.3.0
1515
with:
1616
go-version: "1.18"
1717
- env:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
2424
- name: setup-go
25-
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # tag=v3.2.1
25+
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # tag=v3.3.0
2626
with:
2727
go-version: "1.18"
2828

.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@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2.1.20
60+
uses: github/codeql-action/upload-sarif@c7f292ea4f542c473194b33813ccd4c207a6c725 # tag=v2.1.21
6161
with:
6262
sarif_file: results.sarif

0 commit comments

Comments
 (0)