Skip to content

Backend work for configurable project defaults for squashing merges

What does this MR do?

This adds a backend component to #17613 (closed) - @sming-gitlab will follow up with the frontend work here!

In particular this:

  • Adds an enum to the projects model with squash defaults
  • Adds logic to reject merges when they don't meet the criteria
  • Adds specs for the above
  • Adds some endpoints for the frontend work

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports