fix(ci): 去掉push触发避免双倍触发 + 修复notify误报 + venv路径修复 #12

Closed
jiangwei-infra wants to merge 36 commits from fix/ci-dedup-and-notify-fix into main
Showing only changes of commit ce7c1e7108 - Show all commits
+2
View File
@@ -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")