Skip to content

Add project URL to custom PR template #23

Add project URL to custom PR template

Add project URL to custom PR template #23

Workflow file for this run

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

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

View workflow run for this annotation

GitHub Actions / .github/workflows/snyk-code.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
branches: [ snyk-actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: snyk/actions/setup@master
- name: Snyk Test
run: snyk code test --org=${{ secrets.SNYK_ORG }} --sarif > snyk-sarif2.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-sarif2.json