[MIRROR] Fix GitHub webhook [MDB IGNORE] (#9792)

* Fix GitHub webhook (#63182)

* Fix GitHub webhook

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-12-01 03:42:39 +01:00
committed by GitHub
parent 20bdfe4f97
commit 22fd8eca10

View File

@@ -332,7 +332,10 @@ function is_blacklisted($blacklist, $name) {
}
function handle_pr($payload) {
global $discord_announce_blacklist;
global $no_changelog;
global $game_announce_whitelist;
$action = 'opened';
$validated = validate_user($payload);
switch ($payload["action"]) {