@@ -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.Fatalf(ctx, "failed to reset repo branch: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Infof(ctx, "checkout branch %s", envBaseBranch)
|
||||||
if err = wtree.Checkout(&git.CheckoutOptions{
|
if err = wtree.Checkout(&git.CheckoutOptions{
|
||||||
Branch: plumbing.NewBranchReferenceName(envBaseBranch),
|
Branch: plumbing.NewBranchReferenceName(envBaseBranch),
|
||||||
Create: false,
|
Create: false,
|
||||||
|
Reference in New Issue
Block a user