Skip to content

Commit

Permalink
Fix osv-scanner workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
np5 committed Aug 28, 2024
1 parent fb18558 commit 288a37f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ on:
branches: [ "main" ]

permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Read commit contents
contents: read
actions: read
contents: read # to fetch code (actions/checkout)
security-events: write # for uploading SARIF files

jobs:
scan-scheduled:
Expand Down

0 comments on commit 288a37f

Please sign in to comment.