Skip to content

Commit

Permalink
Add origin/ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Sep 29, 2023
1 parent a0a693f commit 12e351e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .buildkite/scripts/pull-request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ export const generatePipelines = (
.filter((x) => x);

if (!changedFiles?.length) {
const mergeBase = execSync(`git merge-base ${process.env["GITHUB_PR_TARGET_BRANCH"]} HEAD`, { cwd: PROJECT_ROOT })
const mergeBase = execSync(`git merge-base origin/${process.env["GITHUB_PR_TARGET_BRANCH"]} HEAD`, {
cwd: PROJECT_ROOT,
})
.toString()
.trim();

Expand Down

0 comments on commit 12e351e

Please sign in to comment.