Skip to content

Commit

Permalink
Fix permissions 0- Update snyk-security.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaisslaying authored Feb 29, 2024
1 parent fa93d7d commit 9ad5399
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/snyk-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ on:
branches: ["main"]

permissions:
contents: read
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status

jobs:
security:
Expand Down

0 comments on commit 9ad5399

Please sign in to comment.