Skip to content

Commit 97eb963

Browse files
committed
fix: update --update-pipeline env var
1 parent c8059f4 commit 97eb963

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/commands/evaluate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OPTIONS:
1818
--project value GitLab project (example: 'gitlab-org/gitlab') [$GITLAB_PROJECT, $CI_PROJECT_PATH]
1919
--id value The pull/merge ID to process, if not provided as a CLI flag [$CI_MERGE_REQUEST_IID]
2020
--commit value The git commit sha [$CI_COMMIT_SHA]
21-
--update-pipeline Update the CI pipeline status with progress (default: true) [$SCM_ENGINE_SKIP_PIPELINE]
21+
--update-pipeline Update the CI pipeline status with progress (default: true) [$SCM_ENGINE_UPDATE_PIPELINE]
2222
--help, -h show help
2323
2424
GLOBAL OPTIONS:

docs/commands/server.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ USAGE:
2626
OPTIONS:
2727
--webhook-secret value Used to validate received payloads. Sent with the request in the X-Gitlab-Token HTTP header [$SCM_ENGINE_WEBHOOK_SECRET]
2828
--listen value IP + Port that the HTTP server should listen on (default: "0.0.0.0:3000") [$SCM_ENGINE_LISTEN]
29-
--update-pipeline Update the CI pipeline status with progress (default: true) [$SCM_ENGINE_SKIP_PIPELINE]
29+
--update-pipeline Update the CI pipeline status with progress (default: true) [$SCM_ENGINE_UPDATE_PIPELINE]
3030
--help, -h show help
3131
3232
GLOBAL OPTIONS:

main.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func main() {
7272
&cli.BoolFlag{
7373
Name: cmd.FlagDryRun,
7474
Usage: "Dry run, don't actually _do_ actions, just print them",
75+
Value: false,
7576
},
7677
},
7778
Commands: []*cli.Command{
@@ -110,7 +111,7 @@ func main() {
110111
Usage: "Update the CI pipeline status with progress",
111112
Value: true,
112113
EnvVars: []string{
113-
"SCM_ENGINE_SKIP_PIPELINE",
114+
"SCM_ENGINE_UPDATE_PIPELINE",
114115
},
115116
},
116117
},
@@ -140,7 +141,7 @@ func main() {
140141
Usage: "Update the CI pipeline status with progress",
141142
Value: true,
142143
EnvVars: []string{
143-
"SCM_ENGINE_SKIP_PIPELINE",
144+
"SCM_ENGINE_UPDATE_PIPELINE",
144145
},
145146
},
146147
},

0 commit comments

Comments
 (0)