[feat]. Add username and custom bot mention tags
This commit is contained in:
@@ -422,7 +422,7 @@ async def gitea_webhook(
|
||||
return {"accepted": False, "reason": "bot comment ignored"}
|
||||
|
||||
comment_body = str(payload.get("comment", {}).get("body", "")).strip()
|
||||
parsed_command = parse_command(comment_body)
|
||||
parsed_command = parse_command(comment_body, aliases=settings.bot_command_aliases)
|
||||
if not parsed_command:
|
||||
logger.info(
|
||||
"Webhook ignored: no @codex review command repo=%s pr=%s comment_id=%s sender=%s",
|
||||
|
||||
Reference in New Issue
Block a user