Skip to content

Commit

Permalink
ci: add osv-scanner workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shahar-h committed Apr 19, 2024
1 parent db41b16 commit eb56f18
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: OSV-Scanner

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
schedule:
- cron: '16 11 * * 5'

permissions:
# Only need to read contents
contents: read

jobs:
osv-scan:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@841366c79c0449d35ef4a0406bd3f433d10f4b3b" # v1.7.2
permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write

0 comments on commit eb56f18

Please sign in to comment.