mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] another attemp to avoid duplications
This commit is contained in:
parent
cd3014fe17
commit
4a230b887c
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue