docs: #19 工具链上下文四层改造方案 #4

Closed
pangtong-fujunshi wants to merge 39 commits from docs/19-toolchain-context-layers-only into main
Showing only changes of commit 1e1d2bc4a0 - 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")