Revert "Update label-tpu mergify and remove removal bot" (#16350)
This commit is contained in:
parent
98d01d3ce2
commit
098900d7c2
18
.github/mergify.yml
vendored
18
.github/mergify.yml
vendored
@ -90,9 +90,10 @@ pull_request_rules:
|
|||||||
|
|
||||||
- name: label-tpu
|
- name: label-tpu
|
||||||
description: Automatically apply tpu label
|
description: Automatically apply tpu label
|
||||||
|
# Keep this list in sync with `label-tpu-remove` conditions
|
||||||
conditions:
|
conditions:
|
||||||
- or:
|
- or:
|
||||||
- files~=tpu.
|
- files~=tpu.py
|
||||||
- files~=_tpu
|
- files~=_tpu
|
||||||
- files~=tpu_
|
- files~=tpu_
|
||||||
- files~=/tpu/
|
- files~=/tpu/
|
||||||
@ -102,6 +103,21 @@ pull_request_rules:
|
|||||||
add:
|
add:
|
||||||
- tpu
|
- tpu
|
||||||
|
|
||||||
|
- name: label-tpu-remove
|
||||||
|
description: Automatically remove tpu label
|
||||||
|
# Keep this list in sync with `label-tpu` conditions
|
||||||
|
conditions:
|
||||||
|
- and:
|
||||||
|
- -files~=tpu.py
|
||||||
|
- -files~=_tpu
|
||||||
|
- -files~=tpu_
|
||||||
|
- -files~=/tpu/
|
||||||
|
- -files~=pallas
|
||||||
|
actions:
|
||||||
|
label:
|
||||||
|
remove:
|
||||||
|
- tpu
|
||||||
|
|
||||||
- name: ping author on conflicts and add 'needs-rebase' label
|
- name: ping author on conflicts and add 'needs-rebase' label
|
||||||
conditions:
|
conditions:
|
||||||
- conflict
|
- conflict
|
||||||
|
Loading…
x
Reference in New Issue
Block a user