Skip to content

Commit

Permalink
ci: add snyk python (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
gofrolist authored Oct 29, 2021
1 parent 9ffec82 commit 2d7a43e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,19 @@ jobs:
with:
sarif_file: snyk.sarif

- name: Run Snyk to check for Python vulnerabilities
continue-on-error: true
uses: snyk/actions/python@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk-python.sarif

- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: snyk-python.sarif

release:
needs:
- build
Expand Down

0 comments on commit 2d7a43e

Please sign in to comment.