Skip to content

Commit

Permalink
Merge pull request #1350 from guardian/mm/gha-snyk
Browse files Browse the repository at this point in the history
Add GitHub Action for Snyk
  • Loading branch information
coldlink committed Jan 6, 2022
2 parents a4b6c1d + 82e8315 commit 6b3ad2d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Snyk
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor
args: --org=${{ secrets.SNYK_ORG_NAME }} --project-name=${{ secrets.SNYK_PROJECT_NAME }}

0 comments on commit 6b3ad2d

Please sign in to comment.