Skip to content

Commit

Permalink
Ensure SARIF upload completes with results, even if Snyk flags the jo…
Browse files Browse the repository at this point in the history
…b as failed.
  • Loading branch information
evansims committed Aug 29, 2023
1 parent 793d05e commit d69b08c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Snyk

on:
merge_group:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down Expand Up @@ -44,6 +44,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- uses: snyk/actions/python-3.7@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0
continue-on-error: true # Make sure the SARIF upload is called
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
Expand Down

0 comments on commit d69b08c

Please sign in to comment.