diff --git a/dist/index.js b/dist/index.js index e8d42a4..cd4bbae 100644 --- a/dist/index.js +++ b/dist/index.js @@ -34364,7 +34364,7 @@ const core_1 = __nccwpck_require__(9093); const simple_git_1 = __importDefault(__nccwpck_require__(791)); const git = (0, simple_git_1.default)(); async function fetchRemoteBranches() { - await git.fetch(["--unshallow"]); + await git.fetch([]); const branches = await git.branch(["-r"]); return branches.all.map((branch) => branch.replace("origin/", "")); } diff --git a/src/git-util.ts b/src/git-util.ts index 0783f1d..9e6475d 100644 --- a/src/git-util.ts +++ b/src/git-util.ts @@ -4,7 +4,7 @@ import simpleGit from "simple-git"; const git = simpleGit(); export async function fetchRemoteBranches() { - await git.fetch(["--unshallow"]); + await git.fetch([]); const branches = await git.branch(["-r"]); return branches.all.map((branch) => branch.replace("origin/", "")); }