Skip to content

Add OSV-Scanner github action #1

Add OSV-Scanner github action

Add OSV-Scanner github action #1

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: read-all
jobs:
scan-pr:

Check failure on line 14 in .github/workflows/osv-scanner-pr.yml

View workflow run for this annotation

GitHub Actions / OSV-Scanner PR Scan

Invalid workflow file

The workflow is not valid. .github/workflows/osv-scanner-pr.yml (Line: 14, Col: 3): Error calling workflow 'google/osv-scanner/.github/workflows/osv-scanner-reusable-pr.yml@main'. The workflow is requesting 'security-events: write', but is only allowed 'security-events: read'.
uses: "google/osv-scanner/.github/workflows/osv-scanner-reusable-pr.yml@main"