Skip to main content

github.github.onissuecomment

Home > @runlightyear/github > GitHub > onIssueComment

GitHub.onIssueComment() method

This event occurs when there is activity relating to a comment on an issue or pull request.

For activity relating to an issue as opposed to comments on an issue, use the issue event. For activity related to pull request reviews or pull request review comments, use the pull_request_review or pull_request_review_comment events. For more information about the different types of pull request comments, see "Working with comments."

Signature:
static onIssueComment(props: GitHubListenerProps<IssueCommentPayload>): {
webhook: string;
action: string;
};

Parameters

ParameterTypeDescription
propsGitHubListenerProps<IssueCommentPayload>
Returns:

{ webhook: string; action: string; }