We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c4625 commit 07db003Copy full SHA for 07db003
.github/workflows/vulnerability-scan.yml
@@ -0,0 +1,34 @@
1
+name: Vulnerability Scan
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
+ schedule:
9
+ - cron: '0 2 1 * *' # Run at 2 AM on the 1st of every month
10
+ workflow_dispatch: # Allow manual triggering
11
12
+permissions:
13
+ contents: read
14
+ security-events: write
15
16
+jobs:
17
+ vulnerability-scan:
18
+ runs-on: ubuntu-latest
19
+ name: Run govulncheck
20
+ steps:
21
+ - name: Check out code
22
+ uses: actions/checkout@v5
23
+ with:
24
+ persist-credentials: false
25
26
+ - name: Set up Go
27
+ uses: actions/setup-go@v5
28
29
+ go-version-file: 'go.mod'
30
31
+ - name: Run govulncheck
32
+ uses: golang/govulncheck-action@v1
33
34
+ go-package: ./...
0 commit comments