From bf5c4355c3c035450c34fa10ac32b1fee868d108 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 21 Mar 2024 03:56:48 +0100 Subject: [PATCH] add auto_merge_enabled --- server.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server.py b/server.py index f5b2166..37f28eb 100644 --- a/server.py +++ b/server.py @@ -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",