Skip to main content

github.github.onpullrequestreview

Home > @runlightyear/github > GitHub > onPullRequestReview

GitHub.onPullRequestReview() method

This event occurs when there is activity on a pull request.

For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the pull_request_review, pull_request_review_comment, issue_comment, or pull_request_review_thread events instead.

Signature:
static onPullRequestReview(props: GitHubListenerProps<PullRequestReviewPayload>): {
webhook: string;
action: string;
};

Parameters

ParameterTypeDescription
propsGitHubListenerProps<PullRequestReviewPayload>
Returns:

{ webhook: string; action: string; }