File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : OpenSSF Scorecard
2+
3+ on :
4+ branch_protection_rule :
5+ schedule :
6+ - cron : ' 30 1 * * 6'
7+ push :
8+ branches : [ "main" ]
9+
10+ permissions : read-all
11+
12+ jobs :
13+ analysis :
14+ name : Scorecard analysis
15+ runs-on : ubuntu-latest
16+ permissions :
17+ security-events : write
18+ id-token : write
19+ contents : read
20+ actions : read
21+
22+ steps :
23+ - name : Checkout code
24+ uses : actions/checkout@v4
25+ with :
26+ persist-credentials : false
27+
28+ - name : Run analysis
29+ uses : ossf/scorecard-action@v2.4.0
30+ with :
31+ results_file : results.sarif
32+ results_format : sarif
33+ publish_results : true
34+
35+ - name : Upload artifact
36+ uses : actions/upload-artifact@v4
37+ with :
38+ name : SARIF file
39+ path : results.sarif
40+ retention-days : 5
41+
42+ - name : Upload to code-scanning
43+ uses : github/codeql-action/upload-sarif@v3
44+ with :
45+ sarif_file : results.sarif
Original file line number Diff line number Diff line change 2121[ ![ Go Report] ( https://goreportcard.com/badge/github.com/ajitpratap0/GoSQLX?style=flat-square )] ( https://goreportcard.com/report/github.com/ajitpratap0/GoSQLX )
2222[ ![ GoDoc] ( https://pkg.go.dev/badge/github.com/ajitpratap0/GoSQLX?style=flat-square )] ( https://pkg.go.dev/github.com/ajitpratap0/GoSQLX )
2323[ ![ Stars] ( https://img.shields.io/github/stars/ajitpratap0/GoSQLX?style=social )] ( https://github.com/ajitpratap0/GoSQLX )
24+ [ ![ OpenSSF Scorecard] ( https://api.securityscorecards.dev/projects/github.com/ajitpratap0/GoSQLX/badge )] ( https://securityscorecards.dev/viewer/?uri=github.com/ajitpratap0/GoSQLX )
2425
2526<br />
2627
You can’t perform that action at this time.
0 commit comments