Update scripts/changed_prompt.js

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Christian Gunderman
2026-03-02 15:46:34 -08:00
committed by GitHub
parent 95a49be043
commit 3be302afe3

View File

@@ -11,9 +11,10 @@ const EVALS_FILE_PREFIXES = [
];
function main() {
const targetBranch = process.env.GITHUB_BASE_REF || 'main';
try {
// Fetch main branch from origin.
execSync('git fetch origin main', {
// Fetch target branch from origin.
execSync(`git fetch origin ${targetBranch}`, {
stdio: 'ignore',
});