Update snyk_pull_request_template.yaml #151
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snyk Code (SAST) | ||
on: | ||
push: | ||
jobs: | ||
snyk: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run Snyk to check SAST issues | ||
uses: snyk/actions/setup@master | ||
- name: Snyk Code Test | ||
run: snyk code test --sarif > snyk.sarif | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN} | ||
Check failure on line 14 in .github/workflows/main.yml GitHub Actions / Snyk Code (SAST)Invalid workflow file
|
||
- name: Upload results to Github Code Scanning | ||
uses: github/codeql-action/upload-sarif@v1 | ||
with: | ||
sarif_file: snyk_sarif | ||