mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 17:54:07 +01:00
Set a default value for build-event flag of cli exec command (#1212)
Otherwise `cli exec` does not do anything due to the default constraints applied to a pipeline (i.e., some kind of build event is expected).
This commit is contained in:
@@ -157,6 +157,7 @@ var flags = []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
EnvVars: []string{"CI_BUILD_EVENT"},
|
||||
Name: "build-event",
|
||||
Value: "manual",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
EnvVars: []string{"CI_BUILD_LINK"},
|
||||
|
||||
Reference in New Issue
Block a user