mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-10 19:48:09 -05:00
Error when using GitHub Webhook - Registry Package #1486
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
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:
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)