From 4090d8289bc659fde07517e35c487a40f1dd43c0 Mon Sep 17 00:00:00 2001 From: jack Date: Thu, 26 Mar 2026 06:10:56 +0700 Subject: [PATCH] fix: add username/icon_url to Forgejo Discord webhook config Prevents the 'meta json: readObjectStart' error on fresh deploys. Existing hooks already fixed via direct DB update. Co-Authored-By: Claude Sonnet 4.6 --- roles/services/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/services/tasks/main.yml b/roles/services/tasks/main.yml index 284e62e..48efab1 100644 --- a/roles/services/tasks/main.yml +++ b/roles/services/tasks/main.yml @@ -105,6 +105,8 @@ config: url: "{{ discord_webhook_deploys }}" content_type: "json" + username: "Forgejo" + icon_url: "" events: ["push", "create"] active: true status_code: 201