From 4e217eaa8d4ccba02791a9f2832dd77168c6e62e Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sat, 30 Sep 2023 01:29:34 +0300 Subject: [PATCH] update Signed-off-by: Vasiliy Tolstov --- cmd/pkgdashcli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pkgdashcli/main.go b/cmd/pkgdashcli/main.go index 6062c6d..d8f7303 100644 --- a/cmd/pkgdashcli/main.go +++ b/cmd/pkgdashcli/main.go @@ -220,7 +220,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules. logger.Fatalf(ctx, "failed to create repo branch: %v", err) } - if err = repo.Push(&git.PushOptions{Auth: &httpauth.TokenAuth{Token: envTOKEN}}); err != nil { + if err = repo.Push(&git.PushOptions{Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN}}); err != nil { logger.Fatalf(ctx, "failed to push repo branch: %v", err) }