Skip to content

Commit

Permalink
Update snyk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Nov 8, 2023
1 parent efedf54 commit b676976
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,14 @@ jobs:

# Check that project is registered with Snyk when triggered from master branch
- if: github.ref == 'refs/heads/master'
run: snyk monitor
working-directory: src
run: snyk monitor --all-projects
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
continue-on-error: true

# Report vulnerabilities
- run: snyk test --file=Auth0.Net.sln --project-name-prefix=src/
- run: snyk test --all-projects
working-directory: src
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit b676976

Please sign in to comment.