mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +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
CitadelStationBot
parent
630b332848
commit
76efd703da
@@ -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