Status

This event occurs when the status of a Git commit changes. For example, commits can be marked as error, failure, pending, or success. For more information, see "About status checks." For information about the APIs to manage commit statuses, see the GraphQL documentation or "Commit statuses" in the REST API documentation.

Actions

ActionSent when
statusThis event occurs when the status of a Git commit changes. For example, commits can be marked as error, failure, pending, or success. For more information, see "About status checks." For information about the APIs to manage commit statuses, see the GraphQL documentation or "Commit statuses" in the REST API documentation.

Payload

Fields of the delivery for the first action above. Every action shares the event's core fields.

FieldTypeRequiredDescription
avatar_urlstringNo
branchesarray<object>YesAn 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.
commitobjectYes
contextstringYes
created_atstringYes
descriptionstringYesThe optional human-readable description added to the status.
enterpriseobjectNoAn enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured
idintegerYesThe unique identifier of the status.
installationobjectNoThe GitHub App installation. Webhook payloads contain the installation property when the event is configured
namestringYes
organizationobjectNoA GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an
repositoryobjectYesThe repository on GitHub where the event occurred. Webhook payloads contain the repository property
senderobjectYesA GitHub user.
shastringYesThe Commit SHA.
Subscribing

To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission.