Interface GitHubLabel

Represents a GitHub label on a pull request or issue.

interface GitHubLabel {
    color: string;
    default: boolean;
    description: null | string;
    id: number;
    name: string;
}

Properties

color: string

Hex color code (without #)

default: boolean

Whether this is a default label

description: null | string

Label description

id: number

Unique numeric label ID

name: string

Label name