forked from forgejo/forgejo
add new status: checking
This commit is contained in:
parent
9825760817
commit
4dc6285715
4 changed files with 19 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue