Skip to content

Commit

Permalink
Filter out Greenkeeper Travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Sep 12, 2017
1 parent 2ecd72d commit 413361d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/travis.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ module.exports = (robot) ->
}

handler.on 'success', (_event) ->
if event.committer_name is 'greenkeeper[bot]' then return

event = _event.payload
buildName = "#{event.repository.owner_name}/#{event.repository.name}##{event.number}"
buildInfo = "#{event.branch} - #{event.commit.slice 0, 7} : #{event.committer_name}"
Expand Down

0 comments on commit 413361d

Please sign in to comment.