docs: #19 工具链事件中枢上下文四层改造方案 #2

Closed
pangtong-fujunshi wants to merge 33 commits from docs/19-toolchain-context-layers into main
Showing only changes of commit dd2572b8b8 - Show all commits
+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")