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+ name : Scorecard supply-chain security
2+ on :
3+ schedule :
4+ - cron : ' 36 5 * * 0'
5+ push :
6+ # Added your research branch so it actually runs!
7+ branches : [ "main", "DSSRF_Branch_Rule" ]
8+
9+ permissions : read-all
10+
11+ jobs :
12+ analysis :
13+ name : Scorecard analysis
14+ runs-on : ubuntu-latest
15+ # Removed the 'if' condition so it runs on your current branch
16+ permissions :
17+ security-events : write
18+ id-token : write
19+ contents : read
20+ actions : read
21+
22+ steps :
23+ - name : " Checkout code"
24+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
25+ with :
26+ persist-credentials : false
27+
28+ - name : " Run analysis"
29+ uses : ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186
30+ with :
31+ results_file : results.sarif
32+ results_format : sarif
33+ # This uses OIDC, NO API KEY REQUIRED for public repos
34+ publish_results : true
35+
36+ - name : " Upload artifact"
37+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
38+ with :
39+ name : SARIF file
40+ path : results.sarif
41+ retention-days : 5
42+
43+ - name : " Upload to code-scanning"
44+ uses : github/codeql-action/upload-sarif@7434149006143a4d75b82a2f411ef15b03ccc2d7
45+ with :
46+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments