mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Split up Revert/Removal
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user