Skip to content

Merge remote-tracking branch 'origin/snyk-actions' into snyk-actions #30

Merge remote-tracking branch 'origin/snyk-actions' into snyk-actions

Merge remote-tracking branch 'origin/snyk-actions' into snyk-actions #30

name: "snyk test with SARIF upload"
on:
pull_request:
branches: [ snyk-actions ]
push:
branches: [ snyk-actions ]
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: snyk/actions/setup@master
- name: Snyk Test
run: snyk test --sarif-file-output=snyk-sarif1.json
continue-on-error: false
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk-sarif1.json