diff --git a/server/model/const.go b/server/model/const.go index 078676b13..ac4ce0458 100644 --- a/server/model/const.go +++ b/server/model/const.go @@ -27,7 +27,7 @@ const ( func ValidateWebhookEvent(s WebhookEvent) bool { switch s { - case EventPush, EventPull, EventTag, EventDeploy, EventCron: + case EventPush, EventPull, EventTag, EventDeploy, EventCron, EventManual: return true default: return false