We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HookStringification.groovy:
void pull_request_review_comment(List<String> result, def json) { result << format(json, "%repository% %sender% [commented on **$json.comment.path**]($json.comment.html_url) of pull request ${issue(json.pull_request)}"); }
This does not post the content of the comment, only that there is a comment.
Compare with:
void issue_comment(List<String> result, def json) { String issue = issue(json.issue) String commentTarget = (json.issue.pull_request == null) ? "issue" : "pull request"; result << format(json, "%repository% %sender% [commented]($json.comment.html_url) on $commentTarget $issue"); result.add('> ' + truncate(json.comment.body)) stats.addIssueComment(json.repository) }
The text was updated successfully, but these errors were encountered:
It seems like comment content are included: http://chat.stackexchange.com/transcript/message/27428181#27428181 . Perhaps pull_request_review_comment only occurs when using the Github API and not when using the webhooks?
pull_request_review_comment
Sorry, something went wrong.
According to Mug, when used as a webhook it is X-GitHub-Event: issue_comment
X-GitHub-Event: issue_comment
No branches or pull requests
HookStringification.groovy:
This does not post the content of the comment, only that there is a comment.
Compare with:
The text was updated successfully, but these errors were encountered: