From 4a2b76d9c8e00769d81eed2f149b6da20cc2d339 Mon Sep 17 00:00:00 2001 From: zeripath Date: Wed, 4 Mar 2020 03:53:57 +0000 Subject: [PATCH] Update mergebase in pr checker (#10586) --- services/pull/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pull/check.go b/services/pull/check.go index 17f9e047a53..c877cc84eea 100644 --- a/services/pull/check.go +++ b/services/pull/check.go @@ -61,7 +61,7 @@ func checkAndUpdateStatus(pr *models.PullRequest) { } if !has { - if err := pr.UpdateCols("status, conflicted_files"); err != nil { + if err := pr.UpdateCols("merge_base", "status", "conflicted_files"); err != nil { log.Error("Update[%d]: %v", pr.ID, err) } }