fix: branches fucking suck
Node.js CI / CI (push) Failing after 11s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 58s

This commit is contained in:
2026-02-03 19:36:50 -08:00
parent d0bf95cb6d
commit b6fb12ae9f
+2 -1
View File
@@ -345,7 +345,8 @@ const createOrUpdateBranch = async(
const { path: repoPath } = clonedRepo; const { path: repoPath } = clonedRepo;
try { try {
await runGitCommand(logger, repoPath, "git fetch origin"); // Use --prune to remove stale remote-tracking refs that no longer exist
await runGitCommand(logger, repoPath, "git fetch origin --prune");
const remoteBranches = await runGitCommand( const remoteBranches = await runGitCommand(
logger, logger,
repoPath, repoPath,