mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-04 14:01:22 +00:00
auto host request (#11803)
This commit is contained in:
@@ -271,6 +271,8 @@ function tag_pr($payload, $opened) {
|
|||||||
|
|
||||||
check_tag_and_replace($payload, '[dnm]', 'Do Not Merge', $tags);
|
check_tag_and_replace($payload, '[dnm]', 'Do Not Merge', $tags);
|
||||||
|
|
||||||
|
check_tag_and_replace($payload, '[host]', 'Host Request', $tags);
|
||||||
|
|
||||||
return array($tags, $remove);
|
return array($tags, $remove);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -335,7 +337,7 @@ function handle_pr($payload) {
|
|||||||
global $discord_announce_blacklist;
|
global $discord_announce_blacklist;
|
||||||
global $no_changelog;
|
global $no_changelog;
|
||||||
global $game_announce_whitelist;
|
global $game_announce_whitelist;
|
||||||
|
|
||||||
$action = 'opened';
|
$action = 'opened';
|
||||||
$validated = validate_user($payload);
|
$validated = validate_user($payload);
|
||||||
switch ($payload["action"]) {
|
switch ($payload["action"]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user