This commit is contained in:
张建平 2025-04-23 14:47:28 +08:00
parent 3be9f56278
commit f439f3d3de

View File

@ -91,6 +91,8 @@ class WebHookView(View):
# 记录请求日志: 目前仅记录合并日志
if GIT_TYPE == "gitlab":
if json_data.get('object_kind') == 'merge_request':
labels = json_data["labels"]
if labels and labels[0].get("title"):
provider.save_pr_agent_log(
request_data=json_data, project_id=project_config.get("project_id")
)