Support triggering buildbot when reviewing pull request #4
@ -42,7 +42,12 @@ class BackgroundThread(threading.Thread):
|
|||||||
elif event == "pull_request":
|
elif event == "pull_request":
|
||||||
notes.issues_pulls_event(data)
|
notes.issues_pulls_event(data)
|
||||||
commands.pull_request_event(data)
|
commands.pull_request_event(data)
|
||||||
elif event == "pull_request_comment":
|
elif event in (
|
||||||
|
"pull_request_comment",
|
||||||
|
"pull_request_review_approved",
|
||||||
|
"pull_request_review_rejected",
|
||||||
|
"pull_request_review_comment",
|
||||||
|
):
|
||||||
notes.issues_pulls_event(data)
|
notes.issues_pulls_event(data)
|
||||||
commands.comment_event(data)
|
commands.comment_event(data)
|
||||||
elif event == "push":
|
elif event == "push":
|
||||||
|
Loading…
Reference in New Issue
Block a user