Skip to content

Fixes an error with auto merge when checks pass

Phil Hughes requested to merge ph/mergeChecksAutoMergeError into master

What does this MR do and why?

This fixes an error when clicking auto-merge when checks pass and the merge request does not have a pipeline.

Resolves #438334 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

How to set up and validate locally

  • Enable merge_when_checks_pass and additional_merge_when_checks_ready
  • Visit a merge request that requires approval and does not have a pipeline
  • Click Set to auto-merge
Edited by Kai Armstrong

Merge request reports