Skip to content

Commit 154884c

Browse files
committed
Add PullRequestReviewEvent documentation
1 parent 9f38d57 commit 154884c

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,19 @@ This event returns an empty `payload` object.
181181
{% data reusables.webhooks.pull_request_event_api_properties %}
182182
{% data reusables.webhooks.pull_request_properties %}
183183

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

186199
{% data reusables.webhooks.pull_request_review_comment_short_desc %}
@@ -198,6 +211,8 @@ This event returns an empty `payload` object.
198211

199212
{% data reusables.webhooks.events_api_payload %}
200213

214+
#### Event `payload` object
215+
201216
Key | Type | Description
202217
----|------|-------------
203218
`push_id` | `integer` | Unique identifier for the push.

0 commit comments

Comments
 (0)