File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : OSV-Scanner
2+
3+ on :
4+ pull_request :
5+ branches : [ "main" ]
6+ merge_group :
7+ branches : [ "main" ]
8+ schedule :
9+ - cron : ' 40 15 * * 1'
10+ push :
11+ branches : [ "main" ]
12+
13+ jobs :
14+
15+ scan-scheduled :
16+ if : ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
17+ permissions :
18+ security-events : write
19+ contents : read
20+ uses : google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78 # v1.7.1
21+
22+
23+ scan-pr :
24+ if : ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
25+ permissions :
26+ security-events : write
27+ contents : read
28+ actions : write
29+ uses : google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78 # v1.7.1
You can’t perform that action at this time.
0 commit comments