[fix] another attemp to avoid duplications

This commit is contained in:
Laurent Peuch 2019-02-20 23:08:44 +01:00
parent cd3014fe17
commit 4a230b887c

View file

@ -245,6 +245,9 @@ async def github(request):
notify(f"[{repository}] @{user} {state} pull request #{pull_request_number} {pull_request_title}{comment} {url}", repository=repository)
# to avoid duplicated with pull_request_review_comment event
elif action == "commented":
pass
else:
notify(f"[{repository}] @{user} {action} review pull request #{pull_request_number}: {pull_request_title} {url}", repository=repository)