about summary refs log tree commit diff
path: root/nix/buildkite/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-22T13·08+0300
committerflokli <flokli@flokli.de>2024-04-22T14·04+0000
commit6d79cf39b9b9a2d250e1a94ac6f36921cea298ee (patch)
tree41ac4f99653a5e5528cc05cbe98445df17a35529 /nix/buildkite/default.nix
parent4124f0e67907a7cc061116afc3949f3dd923497a (diff)
docs(nix/buildkite): update error message r/7990
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>
Diffstat (limited to '')
-rw-r--r--nix/buildkite/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/buildkite/default.nix b/nix/buildkite/default.nix
index 17f08ce1d5..9abba9408a 100644
--- a/nix/buildkite/default.nix
+++ b/nix/buildkite/default.nix
@@ -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.
       ''