From 30cc8f889ee29c3051934db4a2d46b13ce696f22 Mon Sep 17 00:00:00 2001 From: Sergey Vinogradov Date: Thu, 14 Dec 2023 16:22:50 +0200 Subject: [PATCH] chore: update change detection branch to 24.3 (#6966) --- wtr-utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wtr-utils.js b/wtr-utils.js index f0fd2db591..a0913daa64 100644 --- a/wtr-utils.js +++ b/wtr-utils.js @@ -40,7 +40,7 @@ const hasAllParam = process.argv.includes('--all'); * Check if lockfile has changed. */ const isLockfileChanged = () => { - const log = execSync('git diff --name-only origin/main HEAD').toString(); + const log = execSync('git diff --name-only origin/24.3 HEAD').toString(); return log.split('\n').some((line) => line.includes('yarn.lock')); }; @@ -49,7 +49,7 @@ const isLockfileChanged = () => { */ const getChangedPackages = () => { const pathToLerna = path.normalize('./node_modules/.bin/lerna'); - const output = execSync(`${pathToLerna} la --since origin/main --json --loglevel silent`); // NOSONAR + const output = execSync(`${pathToLerna} la --since origin/24.3 --json --loglevel silent`); // NOSONAR return JSON.parse(output.toString()).map((project) => project.name.replace('@vaadin/', '')); };