hubot-github-event-announcer
Version:
Announces GitHub webhook events
15 lines (10 loc) • 320 B
text/coffeescript
{formatComment} = require './formatter-helpers'
module.exports = ({data}) ->
comment = data.comment
pullRequest = data.pull_request
repo = data.repo
"""
#{comment.user.login} commented on Pull Request ##{pullRequest.number} on #{repo.full_name}
#{formatComment(comment.body)}
#{comment.html_url}
"""