Skip to content

Commit

Permalink
Fix snyk permissions (#22)
Browse files Browse the repository at this point in the history
* fix snyk permissions
  • Loading branch information
bytemare authored Mar 27, 2022
1 parent 0529065 commit a147664
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
name: Snyk

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '31 10 * * 0'
on: push

permissions:
contents: read
Expand All @@ -25,6 +18,6 @@ jobs:
with:
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@883476649888a9e8e219d5b2e6b789dc024f690c # pin@v1
uses: github/codeql-action/upload-sarif@v1 # pin@v1
with:
sarif_file: snyk.sarif

0 comments on commit a147664

Please sign in to comment.