Interface GitHubRef

Represents a git reference in a pull request (head or base).

interface GitHubRef {
    label: string;
    ref: string;
    repo: GitHubRepository;
    sha: string;
    user: GitHubUser;
}

Properties

Properties

label: string

owner:branch label

ref: string

Branch name (e.g., 'main', 'feature/my-feature')

The repository this ref belongs to

sha: string

Commit SHA at the tip of this ref

The user who owns the ref's repository