Browse Source

Update mergebase in pr checker (#10586)

mj
zeripath 3 years ago
committed by GitHub
parent
commit
4a2b76d9c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      services/pull/check.go

2
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)
}
}

Loading…
Cancel
Save