A user comments on a pull request. This payload comes with an event key of pr:comment:added.

interface PRCommentAdded {
    actor: pr.commentAdded.Actor;
    comment: pr.commentAdded.Comment;
    commentParentId?: number;
    date: string;
    eventKey: "pr:comment:added";
    pullRequest: pr.commentAdded.PullRequest;
}

Properties

The user that created the comment.

The comment created.

commentParentId?: number

Id of the parent comment if one exists.

date: string
eventKey

The pull request comment on.