1
- # This workflow uses actions that are not certified by GitHub. They are provided
2
- # by a third-party and are governed by separate terms of service, privacy
3
- # policy, and support documentation.
4
-
5
- name : Scorecard supply-chain security
1
+ name : Scorecard analysis workflow
6
2
on :
7
3
# For Branch-Protection check. Only the default branch is supported. See
8
4
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
32
28
33
29
steps :
34
30
- name : " Checkout code"
35
- uses : actions/checkout@v4
31
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36
32
with :
37
33
persist-credentials : false
38
34
@@ -56,10 +52,11 @@ jobs:
56
52
# of the value entered here.
57
53
publish_results : true
58
54
59
- # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
60
- # format to the repository Actions tab.
55
+ # Upload the results as artifacts (optional). Commenting out will disable
56
+ # uploads of run results in SARIF format to the repository Actions tab.
57
+ # https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
61
58
- name : " Upload artifact"
62
- uses : actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20
59
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
63
60
with :
64
61
name : SARIF file
65
62
path : results.sarif
68
65
# Upload the results to GitHub's code scanning dashboard (optional).
69
66
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
70
67
- name : " Upload to code-scanning"
71
- uses : github/codeql-action/upload-sarif@v3
68
+ uses : github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
72
69
with :
73
70
sarif_file : results.sarif
0 commit comments