mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 14:45:05 +00:00
[MIRROR] Fix Pull Request Auto-Tagging [MDB IGNORE] (#21798)
* Fix Pull Request Auto-Tagging * restore file to tg default * oops --------- Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
@@ -214,7 +214,7 @@ function check_tag_and_replace($payload, $title_tag, $label, &$array_to_add_labe
|
||||
|
||||
function set_labels($payload, $labels, $remove) {
|
||||
global $repoAutoTaggerWhitelist;
|
||||
if(!in_array($repoAutoTaggerWhitelist, $payload['repository']['name'])) {
|
||||
if(!in_array($payload['repository']['name'], $repoAutoTaggerWhitelist)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user