From f8777d85bc69adf924eae0f308a8a159079f1496 Mon Sep 17 00:00:00 2001 From: Alicia <115451386+congw729@users.noreply.github.com> Date: Tue, 24 Mar 2026 16:58:22 +0800 Subject: [PATCH] [CI] Add conditions for L3 (tests after merging) and L4 (tests for nightly). (#1514) Signed-off-by: Alicia <115451386+congw729@users.noreply.github.com> --- .buildkite/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index e734442c1..29defe078 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -23,7 +23,7 @@ steps: - label: "Upload Merge Pipeline" depends_on: image-build key: upload-merge-pipeline - if: build.branch == "main" + if: build.branch == "main" && build.env("NIGHTLY") != "1" commands: - buildkite-agent pipeline upload .buildkite/test-merge.yml agents: @@ -33,7 +33,7 @@ steps: - label: "Upload Nightly Pipeline" depends_on: image-build key: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.branch == "main" && build.env("NIGHTLY") == "1" commands: - buildkite-agent pipeline upload .buildkite/test-nightly.yml agents: