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:
9090
9191- name : label-tpu
9292 description : Automatically apply tpu label
93+ # Keep this list in sync with `label-tpu-remove` conditions
9394 conditions :
9495 - or :
95- - files~=tpu.
96+ - files~=tpu.py
9697 - files~=_tpu
9798 - files~=tpu_
9899 - files~=/tpu/
@@ -102,6 +103,21 @@ pull_request_rules:
102103 add :
103104 - tpu
104105
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+
105121- name : ping author on conflicts and add 'needs-rebase' label
106122 conditions :
107123 - conflict
You can’t perform that action at this time.
0 commit comments