Skip to content

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

@jmini

Description

@jmini

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions