Skip to content

Commit

Permalink
Merge pull request #30 from kairos-io/add-osv
Browse files Browse the repository at this point in the history
Add osv scanner for PRs
  • Loading branch information
mauromorales authored Jul 3, 2024
2 parents 0f117ce + 1c9564a commit ff99118
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/osv-scanner-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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]

permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Only need to read contents
contents: read

jobs:
scan-pr:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.7.1"

0 comments on commit ff99118

Please sign in to comment.