mirror of
https://github.com/macports/mpbot-github.git
synced 2026-07-13 03:18:39 -07:00
Disable maintainer labels on PRs not changing Portfiles
This commit is contained in:
@@ -141,7 +141,9 @@ func (receiver *Receiver) handlePullRequest(body []byte) {
|
||||
typeLabels = appendIfUnique(typeLabels, "type: update")
|
||||
}
|
||||
|
||||
newLabels = append(newLabels, maintainerLabels...)
|
||||
if len(ports) > 0 {
|
||||
newLabels = append(newLabels, maintainerLabels...)
|
||||
}
|
||||
newLabels = append(newLabels, typeLabels...)
|
||||
|
||||
err = receiver.githubClient.ReplaceLabels(owner, repo, number, newLabels)
|
||||
|
||||
Reference in New Issue
Block a user