pr: Enable maintainer timeout check on openmaintainer PRs

This commit is contained in:
Zero King
2018-03-10 18:16:39 +00:00
parent 09f640ceb5
commit 7805a25a28
+3
View File
@@ -142,6 +142,9 @@ func (receiver *Receiver) handlePullRequest(body []byte) {
} else if !isAllSubmission && !isMaintainer {
// TODO: store in DB
maintainerLabels = append(maintainerLabels, "maintainer: requires approval")
}
if !isNomaintainer && !isAllSubmission && !isMaintainer {
receiver.dbHelper.SetPRPendingReview(number, true)
}