mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -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() {
|
function main() {
|
||||||
|
const targetBranch = process.env.GITHUB_BASE_REF || 'main';
|
||||||
try {
|
try {
|
||||||
// Fetch main branch from origin.
|
// Fetch target branch from origin.
|
||||||
execSync('git fetch origin main', {
|
execSync(`git fetch origin ${targetBranch}`, {
|
||||||
stdio: 'ignore',
|
stdio: 'ignore',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user