Skip to content

Commit 5fbab7b

Browse files
committed
wolfibot: fix cloning repos where origin doesn't exist, it isn't needed for the clone to work
Signed-off-by: James Rawlings <jrawlings@chainguard.dev>
1 parent cf7b975 commit 5fbab7b

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

pkg/checks/update.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ func (o CheckUpdateOptions) verifyGitCheckout(p *config.Pipeline, m map[string]s
362362
Progress: os.Stdout,
363363
RecurseSubmodules: git.NoRecurseSubmodules,
364364
ShallowSubmodules: true,
365-
RemoteName: "origin",
366365
Depth: 1,
367366
NoCheckout: true,
368367
}

pkg/update/deps/cleanup.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ func gitCheckout(p *config.Pipeline, dir string, mutations map[string]string) er
4646
Progress: os.Stdout,
4747
RecurseSubmodules: 1,
4848
ShallowSubmodules: true,
49-
RemoteName: "origin",
5049
Depth: 1,
5150
Auth: wgit.GetGitAuth(),
5251
}

0 commit comments

Comments
 (0)