Skip to content

Commit 7c757ef

Browse files
authored
Merge pull request #4330 from lowlighter/main
Add PullRequestReviewEvent documentation
2 parents c958ff0 + 3b57f18 commit 7c757ef

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

content/developers/webhooks-and-events/github-event-types.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,20 @@ This event returns an empty `payload` object.
183183
{% data reusables.webhooks.pull_request_event_api_properties %}
184184
{% data reusables.webhooks.pull_request_properties %}
185185

186+
### PullRequestReviewEvent
187+
188+
{% data reusables.webhooks.pull_request_review_short_desc %}
189+
190+
{% data reusables.webhooks.events_api_payload %}
191+
192+
#### Event `payload` object
193+
194+
Key | Type | Description
195+
----|------|-------------
196+
`action` | `string` | The action that was performed. Can be `created`.
197+
`pull_request` | `object` | The pull request the review pertains to.
198+
`review` | `object` | The review that was affected.
199+
186200
### PullRequestReviewCommentEvent
187201

188202
{% data reusables.webhooks.pull_request_review_comment_short_desc %}
@@ -200,6 +214,8 @@ This event returns an empty `payload` object.
200214

201215
{% data reusables.webhooks.events_api_payload %}
202216

217+
#### Event `payload` object
218+
203219
Key | Type | Description
204220
----|------|-------------
205221
`push_id` | `integer` | Unique identifier for the push.

0 commit comments

Comments
 (0)