docs(nix/buildkite): update error message
With custom phases, using `prompt` is not limited to the "release" phase only, we only care about it not being in the "build" phase. Change-Id: I8af27016865c728125dbe144d31006915b20b105 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11499 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
4124f0e679
commit
6d79cf39b9
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ rec {
|
|||
prompt = lib.throwIf (prompt != false && phase == "build") ''
|
||||
In step '${label}' (from ${parentLabel}):
|
||||
|
||||
The 'prompt' feature can only be used by steps in the "release"
|
||||
The 'prompt' feature can not be used by steps in the "build"
|
||||
phase, because CI builds should not be gated on manual human
|
||||
approvals.
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue