Merge pull request #165 from markcheret/markcheret/update/snyk.yml

This commit is contained in:
Mark Cheret 2021-05-01 17:32:17 +02:00 committed by GitHub
commit e1ec2654dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,12 @@ jobs:
- name: Run Snyk to check for vulnerabilities - name: Run Snyk to check for vulnerabilities
uses: snyk/actions/php@master uses: snyk/actions/php@master
continue-on-error: true # To make sure that SARIF upload gets called
env: env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with: with:
args: --all-projects args: --all-projects --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: snyk.sarif