unblu/ucascade

Do not delete source branch if the MR is closed as not merged

jmini opened this issue · 0 comments

When a auto-MR is closed, ucascade is deleting the source branch.
This is a problem if a user is closing the auto-MR by mistake and then tries to re-open it.

We should check the status of the closed MR and delete the source-branch only if the MR was successfully merged.