mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:54:28 +00:00
Update mergebase in pr checker (#10586)
This commit is contained in:
parent
0b3a9c4f85
commit
4a2b76d9c8
@ -61,7 +61,7 @@ func checkAndUpdateStatus(pr *models.PullRequest) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !has {
|
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)
|
log.Error("Update[%d]: %v", pr.ID, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user