Skip to content

Commit 70b2e23

Browse files
netorsfophillips
authored andcommitted
added pull_request_review hook (#2)
Signed-off-by: Ernesto Ruy Sanchez <netors@gmail.com>
1 parent 6cd36d1 commit 70b2e23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github_webhook/webhook.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def _get_header(key):
110110
'public': '{sender[login]} publicized {repository[full_name]}',
111111
'pull_request': '{sender[login]} {action} pull #{pull_request[number]} in '
112112
'{repository[full_name]}',
113+
'pull_request_review': '{sender[login]} {action} {review[state]} review on pull #{pull_request[number]} in '
114+
'{repository[full_name]}',
113115
'pull_request_review_comment': '{comment[user][login]} {action} comment '
114116
'on pull #{pull_request[number]} in '
115117
'{repository[full_name]}',

0 commit comments

Comments
 (0)