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 <tazjin@tvl.su>
This commit is contained in:
parent
bbf1e32737
commit
b5b968e103
1 changed files with 1 additions and 1 deletions
|
@ -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})";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue