From 6d79cf39b9b9a2d250e1a94ac6f36921cea298ee Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 22 Apr 2024 16:08:11 +0300 Subject: 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 --- nix/buildkite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix') diff --git a/nix/buildkite/default.nix b/nix/buildkite/default.nix index 17f08ce1d5b7..9abba9408ada 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. '' -- cgit 1.4.1