File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : OSSF Scorecard
2+ on :
3+ push :
4+ workflow_dispatch :
5+
6+ permissions : read-all
7+
8+ jobs :
9+ analysis :
10+ name : Scorecard analysis
11+ runs-on : ubuntu-latest
12+ permissions :
13+ security-events : write
14+ id-token : write
15+
16+ steps :
17+ - name : " Checkout code"
18+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
19+ with :
20+ persist-credentials : false
21+
22+ - name : " Run analysis"
23+ uses : ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736
24+ with :
25+ results_file : results.sarif
26+ results_format : sarif
27+ publish_results : true
28+
29+ - name : " Upload artifact"
30+ uses : actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20
31+ with :
32+ name : SARIF file
33+ path : results.sarif
34+ retention-days : 5
35+
36+ - name : " Upload to code-scanning"
37+ uses : github/codeql-action/upload-sarif@v3
38+ with :
39+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments