Unverified Commit 112b3e5b authored by Russell Bryant's avatar Russell Bryant Committed by GitHub
Browse files

[CI] Update rules for applying `tpu` label. (#15634)


Signed-off-by: default avatarRussell Bryant <rbryant@redhat.com>
parent 32d66927
...@@ -90,15 +90,34 @@ pull_request_rules: ...@@ -90,15 +90,34 @@ 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~=pallas - files~=pallas
actions: actions:
label: label:
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment