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 129b149 commit a33a667Copy full SHA for a33a667
.github/workflows/security.yml
@@ -0,0 +1,21 @@
1
+name: Check and report security issues
2
+on:
3
+ push:
4
+ pull_request:
5
+ branches: [ main ]
6
+jobs:
7
+ security:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@master
11
+ - name: Run Snyk to check for vulnerabilities
12
+ uses: snyk/actions/golang@master
13
+ continue-on-error: true # To make sure that SARIF upload gets called
14
+ env:
15
+ SNYK_TOKEN: ${{ secrets.SNYK }}
16
+ with:
17
+ args: --sarif-file-output=snyk.sarif
18
+ - name: Upload result to GitHub Code Scanning
19
+ uses: github/codeql-action/upload-sarif@v3
20
21
+ sarif_file: snyk.sarif
0 commit comments