Error when using GitHub Webhook - Registry Package #1486

Open
opened 2026-03-22 17:30:42 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Bencor29 on GitHub (Nov 14, 2025).

When using GitHub Webhook with specific events, like "Registry packages: package published or updated in a repository.", Komodo don't deploy the stack due to an error.

Komodo looks for a branch name in the webhook payload, but GitHub doesn't provide one with certain events.

GitHub Webhook body received by Komodo (redacted): https://pastebin.com/C6kp3sWU

Komodo Core logs:

2025-11-14T18:42:15.798649Z  WARN StackWebhook{id="*****"}: core::listener::router: Failed at running webhook for stack ***** | Failed to parse github request body: missing field `ref` at line 1 column 13994
2025-11-14T18:46:59.950586Z  WARN StackWebhook{id="*****"}: core::listener::router: Failed at running webhook for stack ***** | Failed to parse github request body: missing field `ref` at line 1 column 13994

It would be great if Komodo was able do ignore the branch if the field isn't present, it would allow us to use any event available in GitHub Webhooks to trigger a redeploy (like in my case, a ghcr.io image push)

Originally created by @Bencor29 on GitHub (Nov 14, 2025). When using GitHub Webhook with specific events, like "Registry packages: package published or updated in a repository.", Komodo don't deploy the stack due to an error. Komodo looks for a branch name in the webhook payload, but GitHub doesn't provide one with certain events. GitHub Webhook body received by Komodo (redacted): [https://pastebin.com/C6kp3sWU](https://pastebin.com/C6kp3sWU) Komodo Core logs: ``` 2025-11-14T18:42:15.798649Z WARN StackWebhook{id="*****"}: core::listener::router: Failed at running webhook for stack ***** | Failed to parse github request body: missing field `ref` at line 1 column 13994 2025-11-14T18:46:59.950586Z WARN StackWebhook{id="*****"}: core::listener::router: Failed at running webhook for stack ***** | Failed to parse github request body: missing field `ref` at line 1 column 13994 ``` It would be great if Komodo was able do ignore the branch if the field isn't present, it would allow us to use any event available in GitHub Webhooks to trigger a redeploy (like in my case, a ghcr.io image push)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#1486