@@ -4,46 +4,51 @@ version: 3
4
4
github_api_version : " shadow-cat-preview"
5
5
6
6
# ###########################################################
7
- # Conditions
7
+ # Overrides
8
8
# ###########################################################
9
9
10
- pullapprove_conditions :
11
- # ###########################################################
12
- # License Checks
13
- # ###########################################################
14
- - condition : " '*license/cla*' in statuses.successful"
15
- unmet_status : " pending"
16
- explanation : " CLA must be agreed to by all contributors"
10
+ overrides :
11
+ - if : " 'hotfix' in labels"
12
+ status : success
13
+ explanation : " Hotfix label added, bypassing reviews"
17
14
18
15
# ###########################################################
19
16
# Draft PRs
20
17
# ###########################################################
21
- - condition : " 'WIP' not in title"
22
- unmet_status : " pending"
23
- explanation : " Work in progress"
18
+ - if : " draft or 'WIP' in title"
19
+ status : pending
20
+ explanation : " PR is draft, pending review"
21
+ - if : " draft"
22
+ status : pending
23
+ explanation : " PR is draft, pending review"
24
24
25
- - condition : " not draft"
26
- unmet_status : " pending"
27
- explanation : " Work in progress"
25
+ # ###########################################################
26
+ # License Checks
27
+ # ###########################################################
28
+ - if : " '*license/cla*' not in statuses.successful"
29
+ status : pending
30
+ explanation : " CLA must be agreed to by all contributors"
28
31
29
32
# ###########################################################
30
33
# Conditions to Skip Review
31
34
# ###########################################################
32
- - condition : " base.ref = = 'master'"
33
- unmet_status : " success"
35
+ - if : " base.ref ! = 'master'"
36
+ status : success
34
37
explanation : " Review not required unless merging to master"
35
38
36
39
# ###########################################################
37
- # Bypass reviews
40
+ # Required status checks
38
41
# ###########################################################
39
- - " 'hotfix' not in labels"
42
+ - if : " '*restyle*' not in statuses.successful"
43
+ status : failure
44
+ explanation : " Style must be inline before reviewing can be complete"
40
45
41
46
# ###########################################################
42
- # Required status checks
47
+ # Fast tracking
43
48
# ###########################################################
44
- - condition : " '*restyle* ' in statuses.successful "
45
- unmet_status : " failure "
46
- explanation : " Style must be inline before reviewing can be complete "
49
+ - if : " 'fast track ' in labels "
50
+ status : success
51
+ explanation : " PR has been fast tracked, bypassing reviews "
47
52
48
53
# ###########################################################
49
54
# Notifications
@@ -91,14 +96,14 @@ groups:
91
96
teams : [reviewers-comcast]
92
97
reviews :
93
98
request : 10
94
- # shared-reviewers-espressif:
95
- # type: optional
96
- # conditions:
97
- # - files.include('*')
98
- # reviewers:
99
- # teams: [reviewers-espressif]
100
- # reviews:
101
- # request: 10
99
+ # shared-reviewers-espressif:
100
+ # type: optional
101
+ # conditions:
102
+ # - files.include('*')
103
+ # reviewers:
104
+ # teams: [reviewers-espressif]
105
+ # reviews:
106
+ # request: 10
102
107
shared-reviewers-google :
103
108
type : optional
104
109
conditions :
@@ -107,14 +112,14 @@ groups:
107
112
teams : [reviewers-google]
108
113
reviews :
109
114
request : 10
110
- # shared-reviewers-lg:
111
- # type: optional
112
- # conditions:
113
- # - files.include('*')
114
- # reviewers:
115
- # teams: [reviewers-lg]
116
- # reviews:
117
- # request: 10
115
+ # shared-reviewers-lg:
116
+ # type: optional
117
+ # conditions:
118
+ # - files.include('*')
119
+ # reviewers:
120
+ # teams: [reviewers-lg]
121
+ # reviews:
122
+ # request: 10
118
123
shared-reviewers-nordic :
119
124
type : optional
120
125
conditions :
0 commit comments