fix(mr-close): fixed the ci pipeline must pass error on closing the MR

Description

This MR fixes the error that was prompted to the user whenever they tried to close an MR whose CI pipeline was failing, which shouldn't happen , CI pipeline status is irrelevant to non-merge commands.

Resolves #8400 (closed)

How has this been tested?

  • Passed DetailedMergeStatus:"ci_must_pass" field to the open MR in mr_close_test.go, and it passed with no issues unlike before.

Merge request reports

Loading