Files
gitea-bot/bot.py
T
Fam Zheng 0ce5fa990b add webhook server alongside polling
- POST /hook with X-Gitea-Signature HMAC-SHA256 verification
- X-Gitea-Delivery dedupe via sqlite deliveries table
- threaded HTTP server + single dispatch worker draining a queue
- polling (60s) kept as fallback; both paths enqueue to the same worker
- gitea system webhook URL: http://10.42.0.1:31390/hook (cni0 gateway)
2026-05-05 10:22:20 +01:00

19 KiB