Skip to content

Commit

Permalink
Add actions read permission to unified workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-doherty committed May 23, 2024
1 parent c736236 commit 93b609b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/osv-scanner-unified-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ on:
branches: ["main"]

permissions:
# Required to upload SARIF file to CodeQL
actions: read
# Require writing security events to upload SARIF file to security tab
security-events: write
# Read commit contents
Expand Down

0 comments on commit 93b609b

Please sign in to comment.