mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-09 23:27:56 +01:00
Allows [s] to be used anywhere in the title (#29021)
This commit is contained in:
@@ -212,7 +212,7 @@ function handle_pr($payload) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (strtolower(substr($payload['pull_request']['title'], 0, 3)) == '[s]') {
|
||||
if (strpos(strtolower($payload['pull_request']['title']), '[s]') !== false) {
|
||||
echo "PR Announcement Halted; Secret tag detected.\n";
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user