Skip to content

Commit

Permalink
Add OSV-Scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
aruneshpa committed Oct 13, 2023
1 parent ef01fa3 commit 6f7baf5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/osv-scanner-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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
push:
branches:
- main

# Declare default permissions as read only.
permissions: read-all

jobs:
scan-pr:
uses: "google/osv-scanner/.github/workflows/osv-scanner-reusable-pr.yml@main"
permissions:
# Needed to upload the SARIF results to code-scanning dashboard.
security-events: write
contents: read

0 comments on commit 6f7baf5

Please sign in to comment.