We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5bcdc9 commit df67e45Copy full SHA for df67e45
packages/ci/src/lib/run-utils.ts
@@ -241,7 +241,7 @@ export async function runInBaseBranch<T>(
241
} = env;
242
243
await git.fetch('origin', base.ref, ['--depth=1']);
244
- await git.checkout(['-f', base.ref]);
+ await git.checkout(['-f', base.sha]);
245
logger.info(`Switched to base branch ${base.ref}`);
246
247
const result = await fn();
0 commit comments