diff --git a/tools/WebhookProcessor/github_webhook_processor.php b/tools/WebhookProcessor/github_webhook_processor.php index f7ea3eecfc..5386eef63b 100644 --- a/tools/WebhookProcessor/github_webhook_processor.php +++ b/tools/WebhookProcessor/github_webhook_processor.php @@ -210,8 +210,10 @@ function tag_pr($payload, $opened) { if(strpos(strtolower($title), 'refactor') !== FALSE) $tags[] = 'Refactor'; - if(strpos(strtolower($title), 'revert') !== FALSE || strpos(strtolower($title), 'removes') !== FALSE) - $tags[] = 'Revert/Removal'; + if(strpos(strtolower($title), 'revert') !== FALSE) + $tags[] = 'Revert'; + if(strpos(strtolower($title), 'removes') !== FALSE) + $tags[] = 'Removal'; } $remove = array(); @@ -661,7 +663,7 @@ function checkchangelog($payload, $compile = true) { case 'sounddel': if($item != 'removed an old sound thingy') { $tags[] = 'Sound'; - $tags[] = 'Revert/Removal'; + $tags[] = 'Removal'; $currentchangelogblock[] = array('type' => 'sounddel', 'body' => $item); } break; @@ -677,7 +679,7 @@ function checkchangelog($payload, $compile = true) { case 'dels': case 'rscdel': if($item != 'Removed old things') { - $tags[] = 'Revert/Removal'; + $tags[] = 'Removal'; $currentchangelogblock[] = array('type' => 'rscdel', 'body' => $item); } break; @@ -690,7 +692,7 @@ function checkchangelog($payload, $compile = true) { case 'imagedel': if($item != 'deleted some icons and images') { $tags[] = 'Sprites'; - $tags[] = 'Revert/Removal'; + $tags[] = 'Removal'; $currentchangelogblock[] = array('type' => 'imagedel', 'body' => $item); } break;