Files
gitea/services
0c1ebb630e fix(automerge): recheck scheduled auto merge when an official review request is cleared (#40420)
With `block_on_official_review_requests` enabled, a scheduled auto merge
stayed stuck after the last official review request was cleared, because
nothing rechecked the PR. A request can be cleared by removing a user's
request, by removing a team's request, or when the requested reviewer
submits any review, including a plain comment.

All three cases now trigger an auto merge recheck. Previously only
approvals and dismissals did. Every recheck now skips pull requests
without a scheduled auto merge before opening the git repository.

Fixes: https://github.com/go-gitea/gitea/issues/40415

Assisted-by: Claude Code:claude-opus-5-5

---------

Co-authored-by: bircni <bircni@icloud.com>
Co-authored-by: silverwind <me@silverwind.io>
2026-11-18 00:53:31 +00:00
..
2026-10-24 13:48:19 +00:00