ci: have mergify set the component/build label on PRs

Quite a few PRs have the `build:` prefix. It would be good to teach
Mergify to set the label for those.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-05-14 16:41:24 +02:00 committed by Madhu Rajanna
parent 5ccdb35da0
commit 150de619ee

View File

@ -342,6 +342,13 @@ pull_request_rules:
label: label:
add: add:
- rebase - rebase
- name: title contains build
conditions:
- "title~=build: "
actions:
label:
add:
- component/build
- name: title indicates a bug fix - name: title indicates a bug fix
conditions: conditions:
- title~=(bug)|(fix) - title~=(bug)|(fix)