Skip to main content

github.statuspayload.branches

Home > @runlightyear/github > StatusPayload > branches

StatusPayload.branches property

An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches.

Signature:
branches: Array<{
commit: {
sha: string | null;
url: string | null;
};
name: string;
protected: boolean;
}>;