ci: ignore case when matching Mergify config update

PRs that contain `mergify` or `Mergify` in the subject should both match
the rule to add labels. The regular expressions can include `(?i)` to
make the matching case-insensitive.

See-also: https://docs.mergify.com/configuration/#regular-expressions
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-11-23 09:13:05 +01:00
parent 411bf33a3d
commit 1ec7c0e5d8

View File

@ -310,7 +310,7 @@ pull_request_rules:
- ci/skip/e2e - ci/skip/e2e
- name: title contains Mergify - name: title contains Mergify
conditions: conditions:
- "title~=mergify" - "title~=(?i)mergify"
actions: actions:
label: label:
add: add: