From a944bf70fe0e740ef2c7829860dd3bb662c3b423 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 11 Nov 2016 09:23:14 -0600 Subject: [PATCH] gitlab: reassign MR to reviewer when resetting --- dr_botzo/gitlab_bot/lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dr_botzo/gitlab_bot/lib.py b/dr_botzo/gitlab_bot/lib.py index 63209b9..c4e621b 100644 --- a/dr_botzo/gitlab_bot/lib.py +++ b/dr_botzo/gitlab_bot/lib.py @@ -131,6 +131,7 @@ class GitlabBot(object): # only set the unlogged approval reset flag if there's some kind of progress if len(request_state.approver_list) > 0: request_state.unlogged_approval_reset = True + request_state.needs_reviewer = True request_state.approver_list.clear() else: log.debug("leaving the approval list as it is, i don't think '%s' is a push", note.body)