auto-sync: 2026-06-09 11:13:34
This commit is contained in:
@@ -400,6 +400,8 @@ async def _handle_issues(payload: Dict[str, Any]) -> None:
|
||||
|
||||
async def _handle_issue_comment(payload: Dict[str, Any]) -> None:
|
||||
"""处理 issue_comment 事件:CI 失败关键词 → 通知 PR 作者。"""
|
||||
# DEBUG: log full payload for investigation
|
||||
logger.info("issue_comment FULL PAYLOAD: %s", json.dumps(payload, ensure_ascii=False)[:3000])
|
||||
comment = payload.get("comment")
|
||||
if not comment or not isinstance(comment, dict):
|
||||
logger.warning("issue_comment event missing comment field, skipping")
|
||||
|
||||
Reference in New Issue
Block a user