File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # OSV-Scanner PR scanning reusable workflow, can be used as a PR action to
2+ # detect new vulnerabilities being introduced.
3+ name : Use OSV to do SCA on main (daily) and PRs
4+
5+ on :
6+ pull_request :
7+ branches : [main]
8+ merge_group :
9+ branches : [main]
10+ schedule :
11+ - cron : 0 0 * * *
12+ push :
13+ branches : [main]
14+
15+ jobs :
16+ # # run the following on PRs
17+ osv-scan-pr :
18+ uses : digitalbazaar/github-workflow-shared-action-osv-scanner/.github/workflows/osv-scanner-pr.yaml@64442e54b86273b20da4a1f4bf2744b43f2e7e02
19+ permissions :
20+ contents : read
21+ pull-requests : write
22+
23+ # # run the following only on the main branch
24+ osv-scan-main :
25+ uses : digitalbazaar/github-workflow-shared-action-osv-scanner/.github/workflows/osv-scanner-main.yaml@64442e54b86273b20da4a1f4bf2744b43f2e7e02
26+ permissions :
27+ contents : read
28+ issues : write
You can’t perform that action at this time.
0 commit comments