Skip to content

Commit 219770e

Browse files
authored
Merge pull request #1305 from jescalada/1291-subsequent-pushes-error
fix: revert `singleBranch` option in `pullRemote` action
2 parents a8224fb + 23776b6 commit 219770e

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)