You've already forked mpbot-github
mirror of
https://github.com/macports/mpbot-github.git
synced 2026-03-31 14:46:03 -07:00
Notify all maintainers
This commit is contained in:
@@ -77,10 +77,8 @@ func (receiver *Receiver) handlePullRequest(body []byte) {
|
||||
if maintainer.GithubHandle != "" {
|
||||
if maintainer.GithubHandle == *event.Sender.Login {
|
||||
isPortMaintainer = true
|
||||
if len(ports) < 2 || *files[i].Changes > 2 {
|
||||
isOneMaintainer = true
|
||||
}
|
||||
} else if len(ports) < 2 || *files[i].Changes > 2 {
|
||||
isOneMaintainer = true
|
||||
} else {
|
||||
handles[maintainer.GithubHandle] = append(handles[maintainer.GithubHandle], port)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user