File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,10 @@ 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
96
97
- files~=_tpu
97
98
- files~=tpu_
98
99
- files~=/tpu/
@@ -102,6 +103,21 @@ pull_request_rules:
102
103
add :
103
104
- tpu
104
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
+
105
121
- name : ping author on conflicts and add 'needs-rebase' label
106
122
conditions :
107
123
- conflict
You can’t perform that action at this time.
0 commit comments