Skip to content

Commit

Permalink
fix(workflow): add read permission to osv-scanner-reusable.yml (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
hogo6002 authored Aug 1, 2024
1 parent 40b3fc0 commit 2b3ea49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/prerelease-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
permissions:
contents: read # to fetch code (actions/checkout)
security-events: write # for uploading SARIF files
actions: read
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@main
with:
# Only scan the top level go.mod file without recursively scanning directories since
Expand Down

0 comments on commit 2b3ea49

Please sign in to comment.