A user approves a pull request for a repository. This payload comes with an event key of pr:reviewer:approved.

interface PRReviewerApproved {
    actor: pr.reviewerApproved.Actor;
    date: string;
    eventKey: "pr:reviewer:approved";
    participant: pr.reviewerApproved.Participant;
    previousStatus: string;
    pullRequest: pr.reviewerApproved.PullRequest;
}

Properties

The user which made the approval.

date: string
eventKey: "pr:reviewer:approved"

Details of the PR participant status of the user making the change

previousStatus: string

The state of the approval before this change

Details of the pull request approved.