Skip to content

Commit

Permalink
snyk security scan & result upload on git push
Browse files Browse the repository at this point in the history
  • Loading branch information
Stassi committed Sep 24, 2024
1 parent cd8fffa commit 5726ffd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/snyk-security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Snyk security

on: push

jobs:
security:
name: Security
runs-on: ubuntu-latest

steps:
- name: Repository checkout
uses: actions/[email protected]

- continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
name: Snyk vulnerabilities scan
uses: snyk/actions/[email protected]
with:
args: --sarif-file-output=snyk.sarif

- name: SARIF upload to GitHub Code Scanning
uses: github/codeql-action/[email protected]
with:
sarif_file: snyk.sarif

0 comments on commit 5726ffd

Please sign in to comment.