Skip to content

Commit 716990c

Browse files
authored
Update services/pull/check.go
1 parent 4857069 commit 716990c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/pull/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func CheckPullMergable(stdCtx context.Context, doer *user_model.User, perm *acce
8989
return ErrIsWorkInProgress
9090
}
9191

92-
if !pr.CanAutoMerge() && !pr.IsEmpty() || pr.IsAncestor() {
92+
if !pr.CanAutoMerge() && !pr.IsEmpty() {
9393
return ErrNotMergableState
9494
}
9595

0 commit comments

Comments
 (0)