From 2a7ac824f7c81137f3704ef6f3fe401b23571c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20T=C3=B6rnberg?= Date: Sun, 27 Sep 2026 22:53:45 +0200 Subject: [PATCH] Send push event header to GitOps webhook The post-build webhook returned success while ignoring the delivery because it omitted X-Gitea-Event: push. As a result, GitSource kept the prior revision and the published console image was never reconciled. Add the event header so the signed notification is queued only after the image has been published. --- .gitea/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f126cd4..c891f05 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -40,6 +40,7 @@ jobs: curl --fail --silent --show-error \ -X POST \ -H "Content-Type: application/json" \ + -H "X-Gitea-Event: push" \ -H "X-Gitea-Signature: $signature" \ --data-binary "@$payload" \ https://ui.k6n.net/api/gitops/webhooks/gitea