diff --git a/scripts/check_evals_trigger.js b/scripts/check_evals_trigger.js index 20ce84bc26..90c8638cb4 100644 --- a/scripts/check_evals_trigger.js +++ b/scripts/check_evals_trigger.js @@ -12,8 +12,8 @@ const EVALS_FILE_PREFIXES = [ function main() { try { - // Fetch main branch to compare against. Use || true to avoid failing if already up to date or no remote. - execSync('git fetch https://github.com/google-gemini/gemini-cli.git main', { + // Fetch main branch from origin. + execSync('git fetch origin main', { stdio: 'ignore', });