4
4
5
5
name : Scorecards supply-chain security
6
6
on :
7
- # For Branch-Protection check. Only the default branch is supported. See
8
- # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
9
- branch_protection_rule :
10
7
# To guarantee Maintained check is occasionally updated. See
11
8
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
12
9
schedule :
13
10
- cron : ' 25 15 * * 3'
14
11
push :
15
- branches : [ "main" ]
16
- pull_request :
17
12
branches :
18
13
- main
19
14
@@ -36,12 +31,12 @@ jobs:
36
31
37
32
steps :
38
33
- name : " Checkout code"
39
- uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 .1.0
34
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 .1.6
40
35
with :
41
36
persist-credentials : false
42
37
43
38
- name : " Run analysis"
44
- uses : ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6
39
+ uses : ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
45
40
with :
46
41
results_file : results.sarif
47
42
results_format : sarif
@@ -63,14 +58,14 @@ jobs:
63
58
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
64
59
# format to the repository Actions tab.
65
60
- name : " Upload artifact"
66
- uses : actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
61
+ uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
67
62
with :
68
63
name : SARIF file
69
64
path : results.sarif
70
65
retention-days : 5
71
66
72
67
# Upload the results to GitHub's code scanning dashboard.
73
68
- name : " Upload to code-scanning"
74
- uses : github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100 # v2.1.27
69
+ uses : github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
75
70
with :
76
71
sarif_file : results.sarif
0 commit comments