mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
add auto_merge_enabled
This commit is contained in:
parent
5318ee4434
commit
bf5c4355c3
1 changed files with 6 additions and 0 deletions
|
@ -436,6 +436,12 @@ async def github(request):
|
|||
repository=repository,
|
||||
)
|
||||
|
||||
elif action == "auto_merge_enabled":
|
||||
await notify(
|
||||
f"[{repository}] Auto-merge has been enabled by @{user} on [pull request #{pull_request_number}]({url}): {pull_request_title}",
|
||||
repository=repository,
|
||||
)
|
||||
|
||||
elif action in (
|
||||
"review_requested",
|
||||
"review_request_removed",
|
||||
|
|
Loading…
Reference in a new issue