@@ -33,34 +33,21 @@ jobs:
33
33
34
34
steps :
35
35
- name : " Checkout code"
36
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
36
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37
37
with :
38
38
persist-credentials : false
39
39
40
40
- name : " Run analysis"
41
- uses : ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
41
+ uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
42
42
with :
43
43
results_file : results.sarif
44
44
results_format : sarif
45
- # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
46
- # - you want to enable the Branch-Protection check on a *public* repository, or
47
- # - you are installing Scorecard on a *private* repository
48
- # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.
49
- # repo_token: ${{ secrets.SCORECARD_TOKEN }}
50
-
51
- # Public repositories:
52
- # - Publish results to OpenSSF REST API for easy access by consumers
53
- # - Allows the repository to include the Scorecard badge.
54
- # - See https://github.com/ossf/scorecard-action#publishing-results.
55
- # For private repositories:
56
- # - `publish_results` will always be set to `false`, regardless
57
- # of the value entered here.
58
45
publish_results : true
59
46
60
47
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
61
48
# format to the repository Actions tab.
62
49
- name : " Upload artifact"
63
- uses : actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20
50
+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6
64
51
with :
65
52
name : SARIF file
66
53
path : results.sarif
69
56
# Upload the results to GitHub's code scanning dashboard (optional).
70
57
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
71
58
- name : " Upload to code-scanning"
72
- uses : github/codeql-action/upload-sarif@v3
59
+ uses : github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
73
60
with :
74
61
sarif_file : results.sarif
0 commit comments