diff --git a/tools/github_webhook_processor.php b/tools/github_webhook_processor.php index 67f79fdd605..49cbed03ca5 100644 --- a/tools/github_webhook_processor.php +++ b/tools/github_webhook_processor.php @@ -155,14 +155,14 @@ function checkchangelog($payload, $merge = false) { $foundcltag = false; foreach ($body as $line) { $line = trim($line); - if (substr($line,0,4) == ':cl:') { + if (substr($line,0,4) == ':cl:' || substr($line,0,4) == '🆑') { $incltag = true; $foundcltag = true; $pos = strpos($line, " "); if ($pos) $username = substr($line, $pos+1); continue; - } else if (substr($line,0,5) == '/:cl:' || substr($line,0,6) == '/ :cl:' || substr($line,0,5) == ':/cl:') { + } else if (substr($line,0,5) == '/:cl:' || substr($line,0,6) == '/ :cl:' || substr($line,0,5) == ':/cl:' || substr($line,0,5) == '/🆑' || substr($line,0,6) == '/ 🆑' ) { $incltag = false; $changelogbody = array_merge($changelogbody, $currentchangelogblock); continue;