This commit is contained in:
Raykov-MS 2026-03-02 17:18:22 +03:00
parent 12e696d5d6
commit 2639aa0157

View File

@ -1063,7 +1063,7 @@ async def gitea_webhook(
await handle_issue_comment(payload)
return {"ok": "true"}
if x_gitea_event == "pull_request_review" and payload.get("review"):
if x_gitea_event in ("pull_request_review", "pull_request_approved", "pull_request_rejected") and payload.get("review"):
await handle_pr_reviewed(payload)
return {"ok": "true"}