[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 <article.disaster@ gmail.com>

* 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 <article.disaster@ gmail.com>
This commit is contained in:
SkyratBot
2022-03-31 07:23:31 +02:00
committed by GitHub
parent 8607ba8b7d
commit 82dab14169

View File

@@ -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);