mirror of
https://github.com/macports/mpbot-github.git
synced 2026-07-13 03:18:39 -07:00
pr: Enable maintainer timeout check on openmaintainer PRs
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user