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 : OpenSSF Scorecard
2+
3+ on :
4+ push :
5+ branches : [main]
6+ schedule :
7+ - cron : ' 0 8 * * 6' # every Saturday at 08:00 UTC
8+ workflow_dispatch :
9+
10+ permissions : read-all
11+
12+ jobs :
13+ scorecard :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ security-events : write # needed to upload SARIF results to GitHub Security tab
17+ id-token : write # needed for Scorecard's OIDC token
18+ contents : read
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
23+ with :
24+ persist-credentials : false
25+
26+ - name : Run Scorecard
27+ uses : ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
28+ with :
29+ results_file : scorecard-results.sarif
30+ results_format : sarif
31+ publish_results : true
32+
33+ - name : Upload results to GitHub Security tab
34+ uses : github/codeql-action/upload-sarif@5c8a8a642e79153f5d047b10ec1cba1d1cc65699 # v3
35+ with :
36+ sarif_file : scorecard-results.sarif
37+ category : scorecard
You can’t perform that action at this time.
0 commit comments