mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-25 00:30:47 +00:00
fix: create secret for manual build (#1222)
This commit is contained in:
parent
c5778e9ce4
commit
5d7fdbc71c
|
@ -27,7 +27,7 @@ const (
|
||||||
|
|
||||||
func ValidateWebhookEvent(s WebhookEvent) bool {
|
func ValidateWebhookEvent(s WebhookEvent) bool {
|
||||||
switch s {
|
switch s {
|
||||||
case EventPush, EventPull, EventTag, EventDeploy, EventCron:
|
case EventPush, EventPull, EventTag, EventDeploy, EventCron, EventManual:
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue