comments: added new events for comment editing to handle them in integrations.

This commit is contained in:
Marcin Kuzminski 2020-07-13 11:18:28 +02:00
parent 7c55d3dab0
commit 74e96ea4b4
15 changed files with 231 additions and 7 deletions

View file

@ -703,6 +703,8 @@ class PullRequestModel(BaseModel):
trigger_hook = hooks_utils.trigger_update_pull_request_hook
elif action == 'comment':
trigger_hook = hooks_utils.trigger_comment_pull_request_hook
elif action == 'comment_edit':
trigger_hook = hooks_utils.trigger_comment_pull_request_edit_hook
else:
return