[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:
SkyratBot
2023-06-18 16:06:49 +02:00
committed by GitHub
parent d8bae448f8
commit 7a0cacdaf2

View File

@@ -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;
}