github webhook: Ignore more pull_request actions.

See https://github.com/zulip/zulip/issues/16258 for
possible follow up here.

We now ignore the following two new pull_request
actions (as well as the three existing ones
from before):

    approved
    converted_to_draft

As the issue above indicates, we may want to actually
support "approved" if we can find somebody to work
on the webhook.  (And then the issue goes a little
broader than what changed here.)
This commit is contained in:
Steve Howell
2020-09-01 12:19:33 +00:00
committed by Tim Abbott
parent 5dea85a186
commit 294fd59983
2 changed files with 11 additions and 2 deletions

View File

@@ -358,6 +358,8 @@ A temporary team so that I can get some webhook fixtures!
def test_ignored_pull_request_actions(self) -> None:
ignored_actions = [
"approved",
"converted_to_draft",
"labeled",
"review_request_removed",
"unlabeled",