Skip to content

Commit 3a809d7

Browse files
Update Scorecard actions versions and apply Zizmor offline findings (#3365)
* Update scorecard.yml actions versions * Zizmor offline analysis findings
1 parent 1263f48 commit 3a809d7

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

.github/workflows/build-frontends.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20+
persist-credentials: false
21+
2022
- uses: actions/setup-dotnet@v4
2123
with:
2224
dotnet-version: '8.0.x'

.github/workflows/build-ilspy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
with:
3131
submodules: true
3232
fetch-depth: 0
33+
persist-credentials: false
3334

3435
- uses: actions/setup-dotnet@v4
3536
with:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 0
31+
persist-credentials: false
3132

3233
- name: Initialize CodeQL
3334
uses: github/codeql-action/init@v3

.github/workflows/generate-bom.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
submodules: true
20+
persist-credentials: false
2021

2122
- name: Install CycloneDX
2223
run: dotnet tool install --global CycloneDX

.github/workflows/scorecard.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Scorecard supply-chain security
2+
23
on:
34
# For Branch-Protection check. Only the default branch is supported. See
45
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection (disabled)
@@ -23,19 +24,19 @@ jobs:
2324

2425
steps:
2526
- name: "Checkout code"
26-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27+
uses: actions/checkout@v4
2728
with:
2829
persist-credentials: false
2930

3031
- name: "Run analysis"
31-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
32+
uses: ossf/scorecard-action@v2.4.0 # https://github.com/marketplace/actions/ossf-scorecard-action
3233
with:
3334
results_file: results.sarif
3435
results_format: sarif
3536
publish_results: true
3637

3738
- name: "Upload artifact"
38-
uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20
39+
uses: actions/upload-artifact@v4
3940
with:
4041
name: SARIF file
4142
path: results.sarif

0 commit comments

Comments
 (0)