unblu / ucascade

Working with multiple main branches on GitLab
https://unblu.github.io/ucascade
Apache License 2.0
17 stars 7 forks source link

Disable the squash option from the cascade MR #1

Open jmini opened 1 year ago

jmini commented 1 year ago

When a ucascade Merge Request is merged manually, using the [ ] squash commits option is really bad, since it does not preserve the merge commit (that is the reason why the tool was created in the first place)


Work-around:

It is possible to disable the "Squash" option for all MR in a project:

Gitlab Config

But this is a little bit extreme, since squashing commit might be something the users want to have in regular MR in a project.


Required change in GitLab: https://gitlab.com/gitlab-org/gitlab/-/issues/290042

Once this feature is available, the auto MR should be configured in a way that it is not possible to squash the MR when merging it.