auto-sync: 2026-06-08 07:06:44
Deploy / ci (push) Waiting to run
Deploy / deploy (push) Blocked by required conditions
Deploy / notify-deploy-failure (push) Blocked by required conditions

This commit is contained in:
cfdaily
2026-06-08 07:06:44 +08:00
parent 128874a143
commit 67332422ec
+1 -2
View File
@@ -426,8 +426,7 @@ async def gitea_webhook(
# 1. 签名验证
if not _verify_signature(body, x_gitea_signature):
logger.warning("Webhook signature verification failed (has_signature=%s, expected_prefix=%s)",
bool(x_gitea_signature), _WEBHOOK_SECRET[:8] if _WEBHOOK_SECRET else "none")
logger.warning("Webhook signature verification failed")
return Response(status_code=403, content="signature verification failed")
# 2. 幂等检查