Skip to content

Commit e1f9f71

Browse files
authored
Add kibanamachine support to Github PR comments
1 parent b8046c7 commit e1f9f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vars/githubPr.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def isPr() {
4949
def getLatestBuildComment() {
5050
return getComments()
5151
.reverse()
52-
.find { it.user.login == 'elasticmachine' && it.body =~ /<!--PIPELINE/ }
52+
.find { (it.user.login == 'elasticmachine' || it.user.login == 'kibanamachine') && it.body =~ /<!--PIPELINE/ }
5353
}
5454

5555
def getBuildInfoFromComment(commentText) {

0 commit comments

Comments
 (0)