[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-11-30 21:42:39 -05:00
committed by GitHub
co-authored by Mothblocks
parent 20bdfe4f97
commit 22fd8eca10
@@ -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"]) {