Pull Request Review Comment

This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "Commenting on a pull request." For information about the APIs to manage pull request review comments, see the GraphQL API documentation or "Pull request review comments" in the REST API documentation.

Actions

ActionSent when
createdA comment on a pull request diff was created.
deletedA comment on a pull request diff was deleted.
editedThe content of a comment on a pull request diff was changed.

Payload

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

FieldTypeRequiredDescription
actionstringYes
commentobjectYesThe comment itself.
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
organizationobjectNoA GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an
pull_requestobjectYes
repositoryobjectYesThe repository on GitHub where the event occurred. Webhook payloads contain the repository property
senderobjectYesA GitHub user.
Subscribing

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