File tree 3 files changed +36
-49
lines changed
3 files changed +36
-49
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : OSV-Scanner PR Scan
3
+
4
+ on :
5
+ pull_request :
6
+ workflow_dispatch :
7
+
8
+ permissions :
9
+ # Require writing security events to upload SARIF file to security tab
10
+ security-events : write
11
+ # Only need to read contents
12
+ contents : read
13
+
14
+ jobs :
15
+ scan-pr :
16
+ # yamllint disable rule:line-length
17
+ uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@f0e45d2960258cf40285d596a10f817af70af1f7" # v1.7.4
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : OSV-Scanner Scheduled Scan
3
+
4
+ on :
5
+ schedule :
6
+ - cron : " 30 12 * * 1"
7
+ push :
8
+ branches : [main]
9
+ workflow_dispatch :
10
+
11
+ permissions :
12
+ # Require writing security events to upload SARIF file to security tab
13
+ security-events : write
14
+ # Only need to read contents
15
+ contents : read
16
+
17
+ jobs :
18
+ scan-scheduled :
19
+ uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@f0e45d2960258cf40285d596a10f817af70af1f7" # v1.7.4
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments