Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/osv-scanner-full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: OSV-Scanner Full Scan

on:
push:
branches: [main]
schedule:
- cron: '23 9 * * 0'
workflow_dispatch:

permissions:
actions: read
contents: read
security-events: write

jobs:
scan-full:
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@b1d267aea5211fa648d9d442fa64b90dbdcbdd36 # v2.7.0
with:
# Initial rollout reports vulnerabilities without failing the scan.
fail-on-vuln: false
upload-sarif: true
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

on:
pull_request:
branches: [main]
merge_group:
branches: [main]
types: [checks_requested]

permissions:
actions: read
contents: read
security-events: write

jobs:
scan-pr:
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@b1d267aea5211fa648d9d442fa64b90dbdcbdd36 # v2.7.0
with:
# Initial rollout reports vulnerabilities without blocking merges.
fail-on-vuln: false
upload-sarif: true
Loading