Skip to main content

github.statuspayload

Home > @runlightyear/github > StatusPayload

StatusPayload interface

Documentation: https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads\#status

Signature:
interface StatusPayload extends CommonPayload 
Extends:

CommonPayload

Required Properties

PropertyModifiersTypeDescription
avatarUrlstring | null
branchesArray<{ commit: { sha: string | null; url: string | null; }; name: string; protected: boolean; }>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.
commitCommit
contextstring
createdAtstring
descriptionstring | nullThe optional human-readable description added to the status.
idnumberThe unique identifier of the status.
namestring
shastringThe Commit SHA.
statestring

The new state. Can be pending, success, failure, or error.

Can be one of: pending, success, failure, error

targetUrlstring | nullThe optional link added to the status.
updatedAtstring