mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
Webhook processor no longer removes [tags] from titles (#32053)
* Webhook processor no longer removes [tags] from titles This was shit * Does the oranges
This commit is contained in:
committed by
oranges
parent
586f74cbc9
commit
b5fde72459
@@ -167,8 +167,6 @@ function check_tag_and_replace($payload, $title_tag, $label, &$array_to_add_labe
|
||||
$title = $payload['pull_request']['title'];
|
||||
if(stripos($title, $title_tag) !== FALSE){
|
||||
$array_to_add_label_to[] = $label;
|
||||
$title = trim(str_ireplace($title_tag, '', $title));
|
||||
apisend($payload['pull_request']['url'], 'PATCH', array('title' => $title));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user