Interface GitHubReview

Represents a pull request review submitted by a reviewer.

interface GitHubReview {
    body: string;
    commit_id: string;
    html_url: string;
    id: number;
    state:
        | "APPROVED"
        | "CHANGES_REQUESTED"
        | "COMMENTED"
        | "DISMISSED"
        | "PENDING";
    submitted_at: string;
    user: GitHubUser;
}

Properties

body: string

Review body text

commit_id: string

The commit SHA this review was submitted against

html_url: string

URL to the review on GitHub

id: number

Unique numeric review ID

state: "APPROVED" | "CHANGES_REQUESTED" | "COMMENTED" | "DISMISSED" | "PENDING"

Review state

submitted_at: string

ISO 8601 timestamp of submission

User who submitted the review