Skip to content

Commit

Permalink
Attempt to fix snyk error (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyhau authored Oct 28, 2023
1 parent 2df0497 commit b7cda8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-action-snyk-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/python@master
uses: snyk/actions/python-3.10@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
Expand All @@ -27,13 +27,13 @@ jobs:
- uses: actions/checkout@master

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/python@master
uses: snyk/actions/python-3.10@master
continue-on-error: true # To make sure that SARIF upload gets called
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects --severity-threshold=high --sarif-file-output=snyk.sarif
command: test debug + sarif-file-output
command: test -d

# - name: Upload result to GitHub Code Scanning
# uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit b7cda8b

Please sign in to comment.