mirror of
https://github.com/go-gitea/gitea
synced 2025-01-28 18:44:27 +00:00
don't return error even retargetbranch of pull request failed
This commit is contained in:
parent
a154697191
commit
6c08cc5bcb
@ -278,7 +278,7 @@ func pushUpdates(optsList []*repo_module.PushUpdateOptions) error {
|
||||
|
||||
if setting.Repository.PullRequest.RetargetChildrenOnMerge {
|
||||
if err := pull_service.RetargetBranchPulls(ctx, pusher, repo.ID, branch, repo.DefaultBranch); err != nil {
|
||||
return err
|
||||
log.Error("retargetBranchPulls failed: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user