Skip to content

Commit

Permalink
Add an if condition to invoke Snyk only on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
krymtkts committed Jan 5, 2024
1 parent a8d0c9d commit 39f2b35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
- name: Run Snyk to check for vulnerabilities
if: runner.os == 'Linux'
uses: snyk/actions/dotnet@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Expand Down

0 comments on commit 39f2b35

Please sign in to comment.