We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b32f642 commit 635655eCopy full SHA for 635655e
1 file changed
.github/workflows/security.yml
@@ -34,3 +34,32 @@ jobs:
34
35
- name: Dependency Review
36
uses: actions/dependency-review-action@v4
37
+
38
+ snyk:
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - uses: actions/checkout@v6
42
43
+ - name: Set up Python
44
+ uses: actions/setup-python@v5
45
+ with:
46
+ python-version: '3.11'
47
48
+ - name: Install dependencies
49
+ run: |
50
+ python -m pip install --upgrade pip
51
+ pip install -e .
52
53
+ - name: Run Snyk to check for vulnerabilities
54
+ uses: snyk/actions/python@master
55
+ continue-on-error: true
56
+ env:
57
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
58
59
+ args: --severity-threshold=high
60
61
+ - name: Upload Snyk results to GitHub Code Scanning
62
+ uses: github/codeql-action/upload-sarif@v4
63
+ if: always()
64
65
+ sarif_file: snyk.sarif
0 commit comments