Deployment Review

This event occurs when there is activity relating to deployment reviews. For more information, see "About deployments." For information about the APIs to manage deployments, see the GraphQL API documentation or "Deployments" in the REST API documentation.

Actions

ActionSent when
approvedA deployment review was approved.
rejectedA deployment review was rejected.
requestedA deployment review was requested.

Payload

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

FieldTypeRequiredDescription
actionstringYes
approverobjectNo
commentstringNo
enterpriseobjectNoAn enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured
installationobjectNoThe GitHub App installation. Webhook payloads contain the installation property when the event is configured
organizationobjectYesA 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
reviewersarray<object>No
senderobjectYesA GitHub user.
sincestringYes
workflow_job_runobjectNo
workflow_job_runsarray<object>No
workflow_runobjectYes
Subscribing

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