File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : OSV-Scanner
21
3- on :
4- pull_request :
5- branches : [ "main", "DSSRF_Branch_Rule" ]
6- merge_group :
7- branches : [ "main", "DSSRF_Branch_Rule" ]
8- schedule :
9- - cron : ' * * * * *'
10- push :
11- branches : [ "main", "DSSRF_Branch_Rule" ]
12-
13- permissions :
14- # Require writing security events to upload SARIF file to security tab
15- security-events : write
16- # Read commit contents
17- contents : read
18-
19- jobs :
20- scan-scheduled :
21- if : ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
22- uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1
23- with :
24- # Example of specifying custom arguments
25- scan-args : |-
26- -r
27- --skip-git
28- ./
29- scan-pr :
30- if : ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
31- uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1
32- with :
33- # Example of specifying custom arguments
34- scan-args : |-
35- -r
36- --skip-git
37- ./
You can’t perform that action at this time.
0 commit comments