Skip to content

Update main.yml

Update main.yml #77

Workflow file for this run

name: "Example workflow for Node using Snyk"
on: push
branches:

Check failure on line 3 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Example workflow for Node using Snyk

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 3, Col: 1): Unexpected value '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