File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ concurrency:
2323
2424jobs :
2525 analyze :
26- name : Analyze
26+ name : Check for Vulnerabilities
2727 runs-on : ubuntu-latest
2828
2929 strategy :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Snyk
22
33on :
44 merge_group :
5- pull_request_target :
5+ pull_request :
66 types :
77 - opened
88 - synchronize
1313 - cron : " 30 0 1,15 * *"
1414
1515permissions :
16+ security-events : write
17+ actions : read
1618 contents : read
1719
1820concurrency :
4143 with :
4244 ref : ${{ github.event.pull_request.head.sha || github.ref }}
4345
44- -
uses :
snyk/actions/php @b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected] 46+ -
uses :
snyk/actions/python-3.7 @b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected] 4547 env :
4648 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
49+ with :
50+ args : --sarif-file-output=snyk.sarif
51+
52+ - name : Upload result to GitHub Code Scanning
53+ uses : github/codeql-action/upload-sarif@v2
54+ with :
55+ sarif_file : snyk.sarif
You can’t perform that action at this time.
0 commit comments