From 25d1b96d775098ea5ef57b2993b9634eee24a6b8 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 2 Oct 2023 02:01:46 +0300 Subject: [PATCH] fixup deps Signed-off-by: Vasiliy Tolstov --- cmd/pkgdashcli/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/pkgdashcli/main.go b/cmd/pkgdashcli/main.go index 1027b32..758763c 100644 --- a/cmd/pkgdashcli/main.go +++ b/cmd/pkgdashcli/main.go @@ -285,6 +285,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules. if err = repo.Push(&git.PushOptions{ RefSpecs: []gitconfig.RefSpec{gitconfig.RefSpec(newref.Name().String() + ":" + newref.Name().String())}, Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN}, + Force: true, }); err != nil { logger.Fatalf(ctx, "failed to push repo branch: %v", err) }