Skip to main content

github.github.oncommitcomment

Home > @runlightyear/github > GitHub > onCommitComment

GitHub.onCommitComment() method

This event occurs when there is activity relating to commit comments.

For activity relating to comments on pull request reviews, use the pull_request_review_comment event. For activity relating to issue comments, use the issue_comment event. For activity relating to discussion comments, use the discussion_comment event.

Signature:
static onCommitComment(props: GitHubListenerProps<CommitCommentPayload>): {
webhook: string;
action: string;
};

Parameters

ParameterTypeDescription
propsGitHubListenerProps<CommitCommentPayload>
Returns:

{ webhook: string; action: string; }