File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Scorecard supply-chain security
2+ on :
3+ schedule :
4+ - cron : " 42 4 * * 6"
5+ push :
6+ branches :
7+ - main
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ analysis :
14+ name : Scorecard analysis
15+ runs-on : ubuntu-latest
16+ if : github.event.repository.default_branch == github.ref_name || github.event_name == "pull_request"
17+ permissions :
18+ id-token : write
19+ security-events : write
20+ steps :
21+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+ with :
23+ persist-credentials : false
24+ - uses : ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
25+ with :
26+ results_file : results.sarif
27+ results_format : sarif
28+ publish_results : true
29+ - uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
30+ with :
31+ name : SARIF file
32+ path : results.sarif
33+ retention-days : 5
34+ - uses : github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
35+ with :
36+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments