From 86cfc3dd0c587c85b1a012afc4ea637ee8638715 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 6 May 2021 08:52:38 +0200 Subject: [PATCH] ci: update mergify config for labelling PRs When the configuration for Mergify itself gets updated, there is not need to run the e2e tests. It seems that the `(ci)` part of matching a title for ci/testing PRs would match partial words like 'capacity'. This is not intended, so rephrasing the regex and adding `e2e` as match too. Signed-off-by: Niels de Vos --- .mergify.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index c56c9a6d0..d0ac0fd31 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -321,9 +321,9 @@ pull_request_rules: label: add: - component/rbd - - name: title contains CI or testing + - name: title contains CI, testing or e2e conditions: - - "title~=(ci)|(testing): " + - "title~=(ci: )|(testing: )|(e2e)" actions: label: add: @@ -364,3 +364,11 @@ pull_request_rules: add: - component/docs - ci/skip/e2e + - name: title contains Mergify + conditions: + - "title~=mergify" + actions: + label: + add: + - Repo activity + - ci/skip/e2e