Skip to content

Create vuln package #10

Create vuln package

Create vuln package #10

Workflow file for this run

name: "snyk test"
on:
pull_request:
branch: [ snyk-actions ]
push:

Check failure on line 5 in .github/workflows/snyk-test-sarif.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/snyk-test-sarif.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
branch: [ snyk-actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: snyk/actions/setup@master
- name: Snyk Test
run: snyk test --sarif-file-output=snyk-sarif1.json
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk-sarif1.json