Skip to content

Resolve "Projects API show whether a project requires/prevents squashing"

What does this MR do?

The Projects API should show whether a project requires, prevents, allows (default_off), or encourages (default_on) squashing.

This MR should assist in resolving #261458 (closed), and all associated screenshots and information is in that issue.

Some discussion around these changes and testing already occurred in https://gitlab.com/emmahsax/gitlab/-/merge_requests/1.

This MR was originally based off of !62262 (closed). After this MR merges, then that one can be closed.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #261458 (closed)

Merge request reports

Loading