gitlab: reassign MR to reviewer when resetting

This commit is contained in:
Brian S. Stephan 2016-11-11 09:23:14 -06:00
parent b248a47658
commit a944bf70fe
1 changed files with 1 additions and 0 deletions

View File

@ -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)