forked from gitea/gitea

Regression bug of #19650 Close #20983 Close #21912 ### The "Manually Merged" form  ### Mark a PR as Manually Merged and close it  --------- Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>