File tree Expand file tree Collapse file tree 2 files changed +64
-0
lines changed
Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ name : Scorecard supply-chain security
3+
4+ on :
5+ branch_protection_rule :
6+ schedule :
7+ - cron : ' 29 23 * * 3'
8+ push :
9+ branches : [ "main", "master"]
10+ pull_request :
11+ branches : ["main", "master"]
12+
13+ permissions : read-all
14+
15+ jobs :
16+ visibility-check :
17+ # Bu job, deponun public/private olduğunu belirler
18+ outputs :
19+ visibility : ${{ steps.drv.outputs.visibility }}
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Determine repository visibility
23+ id : drv
24+ run : |
25+ visibility=$(gh api /repos/$GITHUB_REPOSITORY --jq '.visibility')
26+ echo "visibility=$visibility" >> $GITHUB_OUTPUT
27+ env :
28+ GH_TOKEN : ${{ github.token }}
29+
30+ analysis :
31+ if : ${{ needs.visibility-check.outputs.visibility == 'public' }}
32+ needs : visibility-check
33+ runs-on : ubuntu-latest
34+ permissions :
35+ security-events : write
36+ id-token : write
37+ steps :
38+ - name : " Checkout code"
39+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
40+ with :
41+ persist-credentials : false
42+
43+ - name : " Run analysis"
44+ uses : ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736
45+ with :
46+ results_file : results.sarif
47+ results_format : sarif
48+ publish_results : true
49+
50+ - name : " Upload artifact"
51+ uses : actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db
52+ with :
53+ name : SARIF file
54+ path : results.sarif
55+ retention-days : 5
56+
57+ - name : " Upload to code-scanning"
58+ uses : github/codeql-action/upload-sarif@v3
59+ with :
60+ sarif_file : results.sarif
61+
62+
Original file line number Diff line number Diff line change 1+
2+ [ ![ OpenSSF Scorecard] ( https://api.scorecard.dev/projects/github.com/Trendyol/go-dcp/badge )] ( https://scorecard.dev/viewer/?uri=github.com/Trendyol/go-dcp )
13# Go Dcp [ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/Trendyol/go-dcp.svg )] ( https://pkg.go.dev/github.com/Trendyol/go-dcp ) [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/Trendyol/go-dcp )] ( https://goreportcard.com/report/github.com/Trendyol/go-dcp )
24
35This repository contains go implementation of a Couchbase Database Change Protocol (DCP) client.
You can’t perform that action at this time.
0 commit comments