1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

add new status: checking

This commit is contained in:
Unknwon
2015-10-18 17:18:45 -04:00
parent 9825760817
commit 4dc6285715
4 changed files with 19 additions and 7 deletions

View File

@@ -374,7 +374,7 @@ func MergePullRequest(ctx *middleware.Context) {
return
}
if !pr.CanAutoMerge || pr.HasMerged {
if !pr.CanAutoMerge() || pr.HasMerged {
ctx.Handle(404, "MergePullRequest", nil)
return
}