aboutsummaryrefslogtreecommitdiff
path: root/labbot/addons/approve-merge.py
diff options
context:
space:
mode:
Diffstat (limited to 'labbot/addons/approve-merge.py')
-rw-r--r--labbot/addons/approve-merge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/labbot/addons/approve-merge.py b/labbot/addons/approve-merge.py
index 3c0ef30..81ea68d 100644
--- a/labbot/addons/approve-merge.py
+++ b/labbot/addons/approve-merge.py
@@ -32,5 +32,5 @@ async def merge_label_hook(event, gl, *args, **kwargs):
log.debug(f"Cannot merge !{iid} because of its merge_statuc `{merge_status}`")
def setup(bot):
- bot.register(merge_label_hook, "Merge Request Hook")
+ bot.register_merge_hook(merge_label_hook)
pass \ No newline at end of file