auto-sync: 2026-06-09 11:15:09

This commit is contained in:
cfdaily
2026-06-09 11:15:09 +08:00
parent 3bc629de8c
commit 1e1d2bc4a0
+3
View File
@@ -484,6 +484,9 @@ async def gitea_webhook(
"""
body = await request.body()
# 0. DEBUG: log all webhook events
logger.info("WEBHOOK DEBUG event=%s delivery=%s", x_gitea_event, x_gitea_delivery)
# 1. 签名验证
if not _verify_signature(body, x_gitea_signature):
logger.warning("Webhook signature verification failed")