Skip to content

Commit

Permalink
trying to get snyk working
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsRC committed Apr 16, 2024
1 parent f104c63 commit ad8c1a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ jobs:
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d #v 5.1.0
with:
cache: poetry
- name: Run Snyk monitor
uses: snyk/actions/python@b98d498629f1c368650224d6d212bf7dfa89e4bf # v0.40.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
command: monitor
- name: Run Snyk to check for vulnerabilities
continue-on-error: true # To make sure that SARIF upload gets called
uses: snyk/actions/python@b98d498629f1c368650224d6d212bf7dfa89e4bf # v0.40.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
command: test
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit ad8c1a6

Please sign in to comment.