From 1bb410f799239a50625874171f2cd05e12dbae5d Mon Sep 17 00:00:00 2001 From: David May <1301201+wass3r@users.noreply.github.com> Date: Thu, 9 Mar 2023 10:54:10 -0600 Subject: [PATCH] fix(events): use default events set on server (#424) --- command/repo/add.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/command/repo/add.go b/command/repo/add.go index b044ba89..6dc7ca68 100644 --- a/command/repo/add.go +++ b/command/repo/add.go @@ -111,10 +111,6 @@ var CommandAdd = &cli.Command{ Name: "event", Aliases: []string{"e"}, Usage: "webhook event(s) repository responds to", - Value: cli.NewStringSlice( - constants.EventPush, - constants.EventPull, - ), }, &cli.StringFlag{ EnvVars: []string{"VELA_PIPELINE_TYPE", "PIPELINE_TYPE"},