Skip to content

Add Dependabot config and OSV-Scanner workflow for vulnerability scanning #1

Add Dependabot config and OSV-Scanner workflow for vulnerability scanning

Add Dependabot config and OSV-Scanner workflow for vulnerability scanning #1

Workflow file for this run

name: OSV-Scanner Vulnerability Scan
on:
pull_request:
branches: [main]
push:
branches: [main]
schedule:
- cron: '0 6 * * 1' # Weekly Monday 6am UTC
workflow_dispatch:
permissions:
contents: read
security-events: write
jobs:
osv-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run OSV-Scanner
uses: google/osv-scanner-action/osv-scanner-action@v2
with:
scan-args: |-
--recursive
./
- name: Upload SARIF
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif