Skip to content

Commit d69b08c

Browse files
committed
Ensure SARIF upload completes with results, even if Snyk flags the job as failed.
1 parent 793d05e commit d69b08c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/snyk.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Snyk
22

33
on:
44
merge_group:
5-
pull_request:
5+
pull_request_target:
66
types:
77
- opened
88
- synchronize
@@ -44,6 +44,7 @@ jobs:
4444
ref: ${{ github.event.pull_request.head.sha || github.ref }}
4545

4646
- uses: snyk/actions/python-3.7@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
47+
continue-on-error: true # Make sure the SARIF upload is called
4748
env:
4849
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
4950
with:

0 commit comments

Comments
 (0)