relay: defer event policy to Hermes

This commit is contained in:
2026-08-23 01:59:20 +00:00
parent 806cec77e8
commit 7b36d95293
3 changed files with 42 additions and 18 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ LISTEN_HOST = os.environ.get("LISTEN_HOST", "0.0.0.0")
LISTEN_PORT = int(os.environ.get("LISTEN_PORT", "8645"))
HERMES_URL = os.environ.get(
"HERMES_WEBHOOK_URL",
"http://127.0.0.1:8644/webhooks/gitea-pr-comments",
"http://127.0.0.1:8644/webhooks/gitea-events",
)
MAX_BODY_BYTES = int(os.environ.get("MAX_BODY_BYTES", str(1024 * 1024)))
CREDENTIAL_NAME = os.environ.get("WEBHOOK_CREDENTIAL_NAME", "webhook_secret")