Skip to content

Commit 1c48969

Browse files
authored
updating versions for scorecard analysis (#296)
1 parent 4a7e5f0 commit 1c48969

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/scorecard.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232

3333
steps:
3434
- name: "Checkout code"
35-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
35+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3636
with:
3737
persist-credentials: false
3838

3939
- name: "Run analysis"
40-
uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af # v2.1.3
40+
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
4141
with:
4242
results_file: results.sarif
4343
results_format: sarif
@@ -54,10 +54,19 @@ jobs:
5454
# For private repositories:
5555
# - `publish_results` will always be set to `false`, regardless
5656
# of the value entered here.
57-
publish_results: false
57+
publish_results: true
58+
59+
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
60+
# format to the repository Actions tab.
61+
- name: "Upload artifact"
62+
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
63+
with:
64+
name: SARIF file
65+
path: results.sarif
66+
retention-days: 5
5867

5968
# Upload the results to GitHub's code scanning dashboard.
6069
- name: "Upload to code-scanning"
61-
uses: github/codeql-action/upload-sarif@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
70+
uses: github/codeql-action/upload-sarif@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2
6271
with:
6372
sarif_file: results.sarif

0 commit comments

Comments
 (0)