Skip to content

Commit

Permalink
add permission #3020
Browse files Browse the repository at this point in the history
  • Loading branch information
yurake committed Feb 8, 2023
1 parent 5214c9a commit c82283b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/snyk-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
with:
sarif_file: snyk.sarif
snyk-maven:
permissions:
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
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand Down

0 comments on commit c82283b

Please sign in to comment.