Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyan-sheng committed Aug 14, 2024
1 parent 1f5fb92 commit b7adc75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b7adc75

Please sign in to comment.