title: Gitlab auto merge when build succeeds not working
body: <p>I have a quite simple question. We have setup Gitlab CI and want to allow auto merge as soon as the build succeeds for some of our branches. </p>
  
  <p>Thing is, we see that the build passes, but the merge does not actually happen and the status stays at "to be merged automatically once the build succeeds".</p>
  
  <p>Do you have any idea why? </p>
  
  <p>I attached a screenshot of the bogus behaviour.</p>
  
  <p><a href="https://i.stack.imgur.com/m9erk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m9erk.png" alt="Merge succeeded but MR not merged"></a></p>
  
  <p><strong>EDIT:</strong> Some additional information that was requested: </p>
  
  <ul>
  <li>It looks like no background job is put in the queue where I activate a "automatic merge when build succeeds</li>
  <li>When a build finishes running, no background jobs is triggered as far as I can see. Nothing new being scheduled, dead or in progress.         </li>
  <li>I also don't see anything crazy or ERROR like in the logs. </li>
  <li>Two screenshots of my dashboard as a MR with an automated build runs : </li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/aMWXB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aMWXB.png" alt="Dashboard during MR with auto merge 1"></a> 
  <a href="https://i.stack.imgur.com/PnVZI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PnVZI.png" alt="Dashboard during MR with auto merge 2"></a></p>
  
  <p>Thanks, 
  Julien</p>