auto-sync: 2026-06-09 11:15:09
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user