Support "squash and merge" in Merge Train
Problem to solve
Permissions and Security
To squash and merge pull requests, you must have write permissions in the repository, and the repository must allow squash merging.
These actions should be logged to audit log
This feature is implemented behind
merge_train_new_stale_check feature flag and enabled by default. Once we've confirmed the feature is deemed stable, we remove the feature flag.
Links and references
- Preserve merge train rows after merge !19864 (merged)
- Proactively marking stale status in merge train !19434 (merged)
- Documentation update (https://docs.gitlab.com/ee/ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/#requirements-and-limitations)