zulip/zerver/webhooks/github
lumpleme fba7e02c24 integrations: Prevent duplicate GitHub pull request review messages.
GitHub sends two almost identical payloads when a pull
request is reviewed, which results in two duplicative
notification messages.

The payloads have different "action" value, with one
having the "submitted" action, whereas the other is
"edited" and has an empty "changes" dict.

We now ignore the payload with the "edited" action type
and an empty "changes" dict.

Fixes #26145.

Co-authored-by: Pieter CK <pieterceka123@gmail.com>
(cherry picked from commit b5c63cfb85)
2024-08-01 11:24:58 -07:00
..
fixtures integrations: Prevent duplicate GitHub pull request review messages. 2024-08-01 11:24:58 -07:00
__init__.py
doc.md integration-docs: Update Github for new doc format. 2024-07-08 16:28:24 -07:00
githubsponsors.md integration-docs: Update Github Sponsors for new doc format. 2024-07-08 16:28:24 -07:00
tests.py integrations: Prevent duplicate GitHub pull request review messages. 2024-08-01 11:24:58 -07:00
view.py integrations: Prevent duplicate GitHub pull request review messages. 2024-08-01 11:24:58 -07:00