diff --git a/pkg/git/project.go b/pkg/git/project.go index 21d9bb7..a7754b2 100644 --- a/pkg/git/project.go +++ b/pkg/git/project.go @@ -179,6 +179,10 @@ func (p *Project) Pull(ctx context.Context) error { ReferenceName: plumbing.NewBranchReferenceName(p.Branch), } + if p.auth != nil { + pullOpts.Auth = p.auth + } + if p.writer != nil { pullOpts.Progress = p.writer }