File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : OSV Scanner
2+
3+ # Scans the repository for vulnerable dependencies using Google's OSV Scanner
4+ # Docs: https://google.github.io/osv-scanner/github-action/
5+
6+ on :
7+ push :
8+ branches : [main]
9+ pull_request :
10+ branches : [main]
11+ schedule :
12+ - cron : ' 0 3 * * 1' # Every Monday at 03:00 UTC
13+ workflow_dispatch :
14+
15+ permissions :
16+ actions : read # required by reusable workflow to checkout and run
17+ contents : read # minimal read access
18+ security-events : write # needed to upload SARIF to code scanning
19+
20+ jobs :
21+ osv-scan :
22+ name : OSV Full Scan
23+ uses :
google/osv-scanner-action/.github/workflows/[email protected] 24+ with :
25+ # Optional: override default scan arguments (defaults already recursive). Keep explicit for clarity.
26+ scan-args : |-
27+ --recursive
28+ ./
29+ upload-sarif : true
30+ fail-on-vuln : false
31+ permissions :
32+ actions : read
33+ contents : read
34+ security-events : write
You can’t perform that action at this time.
0 commit comments