mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] bad way to avoid duplicated
This commit is contained in:
parent
e0f36fa700
commit
9eb8e4a0e0
1 changed files with 1 additions and 3 deletions
|
@ -222,8 +222,6 @@ async def github(request):
|
|||
if len(comment) > 120:
|
||||
comment = comment[:120] + "..."
|
||||
|
||||
# try to avoid duplicated messages
|
||||
if action != "created":
|
||||
notify(f"[{repository}] @{user} {action} a comment on pull request #{pull_request_number} {pull_request_title}: {comment} {url}", repository=repository)
|
||||
|
||||
# https://developer.github.com/v3/activity/events/types/#pullrequestreviewevent
|
||||
|
|
Loading…
Reference in a new issue