diff --git a/.github/workflows/snyk-security.yml b/.github/workflows/snyk-security.yml new file mode 100644 index 0000000..9a73e1d --- /dev/null +++ b/.github/workflows/snyk-security.yml @@ -0,0 +1,25 @@ +name: Snyk security + +on: push + +jobs: + security: + name: Security + runs-on: ubuntu-latest + + steps: + - name: Repository checkout + uses: actions/checkout@v4.1.7 + + - continue-on-error: true + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + name: Snyk vulnerabilities scan + uses: snyk/actions/node@0.4.0 + with: + args: --sarif-file-output=snyk.sarif + + - name: SARIF upload to GitHub Code Scanning + uses: github/codeql-action/upload-sarif@v3.26.8 + with: + sarif_file: snyk.sarif