From b7adc753aa140b7f2346b7e925ccde14159a104f Mon Sep 17 00:00:00 2001 From: kaiyan-sheng Date: Wed, 14 Aug 2024 08:44:22 -0600 Subject: [PATCH] fix ci --- .buildkite/pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.py b/.buildkite/pipeline.py index 95530b89628..63eb5bdf890 100755 --- a/.buildkite/pipeline.py +++ b/.buildkite/pipeline.py @@ -143,8 +143,8 @@ def __init__(self): self.files: list[str] = [] def get_pr_changeset(self) -> list[str]: - base_branch = os.getenv("BUILDKITE_PULL_REQUEST_BASE_BRANCH", "main") - diff_command = ["git", "diff", "--name-only", "{}...HEAD".format(base_branch)] + hash = ["git", "rev-parse", "8.12"] + diff_command = ["git", "diff", "--name-only", "{}...HEAD".format(hash)] result = subprocess.run(diff_command, stdout=subprocess.PIPE) if result.returncode == 0: self.files = result.stdout.decode().splitlines()