No tags
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ export async function setupGit(ctx: Context): Promise<SetupGitResult> {
|
|||||||
// checkout PR branch using plain git (no gh cli needed)
|
// checkout PR branch using plain git (no gh cli needed)
|
||||||
const branch = pr.data.head.ref;
|
const branch = pr.data.head.ref;
|
||||||
log.info(`🌿 Checking out PR #${prNumber} (${branch})...`);
|
log.info(`🌿 Checking out PR #${prNumber} (${branch})...`);
|
||||||
$("git", ["fetch", "origin", `pull/${prNumber}/head:${branch}`], { cwd: repoDir });
|
$("git", ["fetch", "--no-tags", "origin", `pull/${prNumber}/head:${branch}`], { cwd: repoDir });
|
||||||
$("git", ["checkout", branch], { cwd: repoDir });
|
$("git", ["checkout", branch], { cwd: repoDir });
|
||||||
log.info(`✓ Successfully checked out PR #${prNumber}`);
|
log.info(`✓ Successfully checked out PR #${prNumber}`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user