snyk actions
permission removal
#7
Workflow file for this run
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: Security | |
on: push | |
jobs: | |
security: | |
name: Snyk | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Repository checkout | |
uses: actions/[email protected] | |
- continue-on-error: true | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
name: Snyk vulnerabilities scan | |
uses: snyk/actions/[email protected] | |
with: | |
args: --sarif-file-output=snyk.sarif | |
- name: SARIF upload to GitHub Code Scanning | |
uses: github/codeql-action/[email protected] | |
with: | |
sarif_file: snyk.sarif |