mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-11 14:40:52 -07:00
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:
committed by
GitHub
parent
95a49be043
commit
3be302afe3
@@ -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',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user