mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
[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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user