Skip to content

Update the perms to allow OSV scanning to work. #201

Update the perms to allow OSV scanning to work.

Update the perms to allow OSV scanning to work. #201

Workflow file for this run

name: OSV-Scanner PR Scan
# Change "main" to your default branch if you use a different name, i.e. "master"
on:
pull_request:
branches: [ main ]
merge_group:
branches: [ main ]
# Declare default permissions as read only.
permissions:
actions: read
contents: read
# Require writing security events to upload SARIF file to security tab
security-events: write
jobs:
scan-pr:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@v1.8.4"