feat: forgejo integration - webhooks, commit reminders, and templated notifications #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/forgejo-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Full integration with Forgejo: webhook handling, commit storage, daily reminders,
and CI workflow notifications with formatted messages.
Changes
Webhook handler (
/webhook/forgejo)pushevent — saves commits to PostgreSQLworkflow_runevent — sends success/failure/cancelled notifications to Matrix roomFORGEJO_WEBHOOK_SECRET,FORGEJO_ROOM_ID,SERVER_LISTEN_ADDRCommit storage
init.sql) with unique commit deduplicationget_today_commits()/has_commits_today()queriesDaily scheduler
SCHEDULER_TIMEsend_reminder()logicCommands
/commits— manual commit summary for today/ping— health check with sender nameTemplating (askama + pulldown-cmark)
org.matrix.custom.htmlformatInfrastructure
ctrl_cdocker-compose.ymlfor easy deployment