E2E test for MR with CODEOWNERS and Squash Commits
This test is a reaction to the repeated failure of a specific use case
Steps
- Enable the
gitaly_go_user_merge_branchfeature flag. - Create a repository with
.gitlab/CODEOWNERSwith* @root(or some user). - Set the Protected Branches to this:
- Create a merge request with 2 commits.
- Click merge and be sure to click on "Squash commits".
Please see this comment specifically for more clarity: gitlab-com/gl-infra/production#2985 (comment 442783452)
Edited by Tomislav Nikić
