File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # SPDX-License-Identifier: PMPL-1.0-or-later
2- name : OpenSSF Scorecard
3-
1+ # SPDX-License-Identifier: PMPL-1.0
2+ name : OSSF Scorecard
43on :
5- branch_protection_rule :
6- schedule :
7- - cron : ' 0 0 * * 2' # Weekly on Tuesday
84 push :
9- branches : [ main ]
5+ branches : [main, master]
6+ schedule :
7+ - cron : ' 0 4 * * *'
8+ workflow_dispatch :
109
1110# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
1211# updates do not pile up queued runs against the shared account-wide
@@ -21,25 +20,22 @@ permissions:
2120
2221jobs :
2322 analysis :
24- name : Scorecard analysis
2523 runs-on : ubuntu-latest
2624 permissions :
2725 security-events : write
2826 id-token : write
2927 steps :
30- - name : Checkout code
31- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
28+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3229 with :
3330 persist-credentials : false
3431
35- - name : Run analysis
36- uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
32+ - name : Run Scorecard
33+ uses : ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.3.1
3734 with :
3835 results_file : results.sarif
3936 results_format : sarif
40- publish_results : true
4137
42- - name : Upload to code-scanning
43- uses : github/codeql-action/upload-sarif@b2f9ef845756500b97acbdaf5c1dd4e9c1d15734 # v3
38+ - name : Upload results
39+ uses : github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3.31.8
4440 with :
4541 sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments