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+ on :
2+ # Allow manually triggering the workflow.
3+ workflow_dispatch :
4+ schedule :
5+ - cron : 0 7 * * 1
6+ push :
7+ branches :
8+ - main
9+ paths :
10+ - .github/workflows/scorecard-analysis.yml
11+
12+ permissions : read-all
13+
14+ name : Scorecard Analysis
15+ jobs :
16+ analysis :
17+ name : Scorecard analysis
18+ runs-on : ubuntu-latest
19+ permissions :
20+ security-events : write
21+ id-token : write
22+
23+ steps :
24+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+ with :
26+ persist-credentials : false
27+
28+ - name : Run analysis
29+ uses : ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
30+ with :
31+ results_file : results.sarif
32+ results_format : sarif
33+ publish_results : true
34+
35+ - name : Upload to code-scanning
36+ uses : github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # 4.35.1
37+ with :
38+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments