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- # To get started with Dependabot version updates, you'll need to specify which
2- # package ecosystems to update and where the package manifests are located.
3- # Please see the documentation for all configuration options:
4- # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5-
61version : 2
72updates :
8- # Handles Go dependencies
9- - package-ecosystem : " gomod" # See documentation for possible values
10- directory : " /" # Location of package manifests
3+ - package-ecosystem : " gomod"
4+ directory : " /"
115 schedule :
126 interval : " weekly"
13- # Handles CI/CD workflow dependencies
7+ open-pull-requests-limit : 5
8+ commit-message :
9+ prefix : " deps"
10+
1411 - package-ecosystem : " github-actions"
1512 directory : " /"
1613 schedule :
1714 interval : " weekly"
15+ open-pull-requests-limit : 3
16+ commit-message :
17+ prefix : " ci"
Original file line number Diff line number Diff line change 1+ name : Security
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ schedule :
9+ - cron : ' 0 6 * * *'
10+
11+ jobs :
12+ vulnerability-scan :
13+ name : Vulnerability Scanning
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
19+ - name : Set up Go
20+ uses : actions/setup-go@v5
21+ with :
22+ go-version : ' 1.25'
23+
24+ - name : Install govulncheck
25+ run : go install golang.org/x/vuln/cmd/govulncheck@latest
26+
27+ - name : Run govulncheck
28+ run : govulncheck ./...
29+
30+ codeql :
31+ name : CodeQL Analysis
32+ runs-on : ubuntu-latest
33+ permissions :
34+ actions : read
35+ contents : read
36+ security-events : write
37+
38+ strategy :
39+ fail-fast : false
40+ matrix :
41+ language : [ 'go' ]
42+
43+ steps :
44+ - name : Checkout code
45+ uses : actions/checkout@v4
46+
47+ - name : Initialize CodeQL
48+ uses : github/codeql-action/init@v3
49+ with :
50+ languages : ${{ matrix.language }}
51+ queries : security-and-quality
52+
53+ - name : Set up Go
54+ uses : actions/setup-go@v5
55+ with :
56+ go-version : ' 1.25'
57+
58+ - name : Autobuild
59+ uses : github/codeql-action/autobuild@v3
60+
61+ - name : Perform CodeQL Analysis
62+ uses : github/codeql-action/analyze@v3
63+ with :
64+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments