From 13efd2621dad62810823945f9492c429d508bffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Wed, 27 Mar 2024 15:25:19 +0100 Subject: [PATCH] use origin branch for base --- scripts/run-related-test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-related-test.mjs b/scripts/run-related-test.mjs index 82aa887a04202..bdb34983ca5a6 100644 --- a/scripts/run-related-test.mjs +++ b/scripts/run-related-test.mjs @@ -46,7 +46,7 @@ async function readTestLines(filePath, marker) { * Get all changed files from git under the packages directory * @returns {Promise} - List of changed files */ -async function getChangedFilesFromPackages(baseBranch = 'canary') { +async function getChangedFilesFromPackages(baseBranch = 'origin/canary') { const { stdout } = await exec(`git diff --name-only ${baseBranch}`) return stdout .trim()