Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snyk test sca code scanning #834

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/snyk_sca_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Snyk Code Security

on:
pull_request:
branches:
- '**'
push:
branches:
- main
paths-ignore:
- '**/*.md'

jobs:
open-source:
name: '🔒 Open Source Scan'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
cache: 'yarn'
- run: yarn
- run: yarn install

- uses: actions/checkout@v2
- name: Run Snyk to check for known vulnerabilities in software supply chain
uses: snyk/actions/node@0e928f3e9ae859e2b95ac2b89af55d7b6434244d
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
with:
command: test
args: --severity-threshold=medium --all-projects