Skip to content

Update main.yml

Update main.yml #79

Workflow file for this run

name: "Example workflow for Node using Snyk"
on:
push:
branches:
- 'demo*' # Include any branch starting with demo
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high
command: code test # Specifically run Snyk Code SAST scanning