From b5b968e1039be23846b6ebd64d1e762ef203e475 Mon Sep 17 00:00:00 2001 From: Evgeny Zemtsov Date: Thu, 20 Oct 2022 16:20:41 +0200 Subject: fix(nix/buildkite) don't fail if gated step has no branches Change-Id: Id3365c18bc3904b42e8b129a513cff4480a2cb07 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7051 Tested-by: BuildkiteCI Reviewed-by: tazjin --- nix/buildkite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/buildkite') diff --git a/nix/buildkite/default.nix b/nix/buildkite/default.nix index f0f760b3ceb1..ccd98e532c75 100644 --- a/nix/buildkite/default.nix +++ b/nix/buildkite/default.nix @@ -308,8 +308,8 @@ rec { steps = [ { - inherit (step) branches; inherit prompt; + branches = step.branches or [ ]; block = ":radio_button: Run ${label}? (from ${parent.env.READTREE_TARGET})"; } -- cgit 1.4.1