fixup deps

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-10-02 02:03:18 +03:00
parent 25d1b96d77
commit 10e17e6b99

View File

@ -234,6 +234,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules.
logger.Fatalf(ctx, "failed to reset repo branch: %v", err)
}
logger.Infof(ctx, "checkout branch %s", envBaseBranch)
if err = wtree.Checkout(&git.CheckoutOptions{
Branch: plumbing.NewBranchReferenceName(envBaseBranch),
Create: false,