Support triggering buildbot when reviewing pull request #4

Open
Jacques Lucke wants to merge 1 commits from JacquesLucke/blender-bot:build-pr-on-review into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 518d4444e7 - Show all commits

View File

@ -42,7 +42,12 @@ class BackgroundThread(threading.Thread):
elif event == "pull_request":
notes.issues_pulls_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)
commands.comment_event(data)
elif event == "push":