1
1
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:
Lunny Xiao 2024-11-10 12:03:16 -08:00
parent a154697191
commit 6c08cc5bcb
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -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)
}
}