File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,34 @@ pull_request_rules:
90
90
91
91
- name : label-tpu
92
92
description : Automatically apply tpu label
93
+ # Keep this list in sync with `label-tpu-remove` conditions
93
94
conditions :
94
95
- or :
95
- - files~=tpu
96
+ - files~=tpu.py
97
+ - files~=_tpu
98
+ - files~=tpu_
99
+ - files~=/tpu/
96
100
- files~=pallas
97
101
actions :
98
102
label :
99
103
add :
100
104
- tpu
101
105
106
+ - name : label-tpu-remove
107
+ description : Automatically remove tpu label
108
+ # Keep this list in sync with `label-tpu` conditions
109
+ conditions :
110
+ - and :
111
+ - -files~=tpu.py
112
+ - -files~=_tpu
113
+ - -files~=tpu_
114
+ - -files~=/tpu/
115
+ - -files~=pallas
116
+ actions :
117
+ label :
118
+ remove :
119
+ - tpu
120
+
102
121
- name : ping author on conflicts and add 'needs-rebase' label
103
122
conditions :
104
123
- conflict
You can’t perform that action at this time.
0 commit comments