Skip to content

Commit dd71f28

Browse files
committed
fix: revert singleBranch option in pullRemote action
1 parent 3d54835 commit dd71f28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/proxy/processors/push-action/pullRemote.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ const exec = async (req: any, action: Action): Promise<Action> => {
2828
.toString()
2929
.split(':');
3030

31+
// Note: setting singleBranch to true will cause issues when pushing to
32+
// a non-default branch as commits from those branches won't be fetched
3133
await git.clone({
3234
fs,
3335
http: gitHttpClient,
3436
url: action.url,
3537
dir: `${action.proxyGitPath}/${action.repoName}`,
3638
onAuth: () => ({ username, password }),
37-
singleBranch: true,
3839
depth: 1,
3940
});
4041

0 commit comments

Comments
 (0)