diff options
Diffstat (limited to 'services/automerge')
-rw-r--r-- | services/automerge/automerge.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/automerge/automerge.go b/services/automerge/automerge.go index 74cfb8da8f..9946047640 100644 --- a/services/automerge/automerge.go +++ b/services/automerge/automerge.go @@ -230,7 +230,7 @@ func handlePull(pullID int64, sha string) { return } - if err := pull_service.CheckPullMergable(ctx, doer, &perm, pr, false, false); err != nil { + if err := pull_service.CheckPullMergable(ctx, doer, &perm, pr, pull_service.MergeCheckTypeGeneral, false); err != nil { if errors.Is(pull_service.ErrUserNotAllowedToMerge, err) { log.Info("%-v was scheduled to automerge by an unauthorized user", pr) return |