From 82dab1416988ae1cfdc277aabf70352153e4d237 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 31 Mar 2022 07:23:31 +0200 Subject: [PATCH] [MIRROR] Add GBP: No Update label when PR title includes [no gbp] [MDB IGNORE] (#12403) * add GBP: No Update label when title includes [no gbp] (#65739) Co-authored-by: tattle * Add GBP: No Update label when PR title includes [no gbp] Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com> Co-authored-by: tattle --- tools/WebhookProcessor/github_webhook_processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/WebhookProcessor/github_webhook_processor.php b/tools/WebhookProcessor/github_webhook_processor.php index c5933197abf..6700faa331c 100644 --- a/tools/WebhookProcessor/github_webhook_processor.php +++ b/tools/WebhookProcessor/github_webhook_processor.php @@ -243,7 +243,6 @@ function tag_pr($payload, $opened) { if(strpos(strtolower($title), 'refactor') !== FALSE) $tags[] = 'Refactor'; - if(strpos(strtolower($title), 'revert') !== FALSE) $tags[] = 'Revert'; if(strpos(strtolower($title), 'removes') !== FALSE) @@ -270,6 +269,7 @@ function tag_pr($payload, $opened) { $tags[] = $tag; check_tag_and_replace($payload, '[dnm]', 'Do Not Merge', $tags); + check_tag_and_replace($payload, '[no gbp]', 'GBP: No Update', $tags); check_tag_and_replace($payload, '[host]', 'Host Request', $tags);