File tree Expand file tree Collapse file tree 5 files changed +44
-4
lines changed
Expand file tree Collapse file tree 5 files changed +44
-4
lines changed Original file line number Diff line number Diff line change 11name : Build Docs
2- permissions : { } # No permissions by default on workflow level
2+ permissions : {} # No permissions by default on workflow level
33
44on :
55 workflow_dispatch : # run on request (no need for PR)
Original file line number Diff line number Diff line change 55 release :
66 types : [published]
77
8- permissions : { } # No permissions by default on workflow level
8+ permissions : {} # No permissions by default on workflow level
99
1010jobs :
1111 build :
Original file line number Diff line number Diff line change 1+ name : Scorecards supply-chain security
2+ on :
3+ # For Branch-Protection check. Only the default branch is supported. See
4+ # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
5+ branch_protection_rule :
6+ schedule :
7+ # Run security checks every day at 2 AM UTC
8+ - cron : " 0 2 * * *"
9+ workflow_dispatch :
10+
11+ permissions : {}
12+
13+ jobs :
14+ analysis :
15+ name : Scorecards analysis
16+ runs-on : ubuntu-latest
17+ permissions :
18+ # Needed to upload the results to code-scanning dashboard
19+ security-events : write
20+ # Needed to publish results and get a badge
21+ id-token : write
22+
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+ with :
27+ persist-credentials : false
28+
29+ - name : Run analysis
30+ uses : ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
31+ with :
32+ results_file : results.sarif
33+ results_format : sarif
34+ publish_results : true
35+
36+ # Upload the results to GitHub's code scanning dashboard
37+ - name : Upload to code-scanning
38+ uses : github/codeql-action/upload-sarif@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
39+ with :
40+ sarif_file : results.sarif
Original file line number Diff line number Diff line change 11name : test_accuracy
2- permissions : { } # No permissions by default on workflow level
2+ permissions : {} # No permissions by default on workflow level
33on :
44 pull_request :
55 merge_group :
Original file line number Diff line number Diff line change 11name : test_precommit
2- permissions : { } # No permissions by default on workflow level
2+ permissions : {} # No permissions by default on workflow level
33on :
44 pull_request :
55 merge_group :
You can’t perform that action at this time.
0 commit comments