Allows [s] to be used anywhere in the title (#1923)

This commit is contained in:
CitadelStationBot
2017-07-07 06:46:26 -05:00
committed by kevinz000
parent ef4befcdd5
commit efae0e576e

View File

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