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 is designed to be merged into the branch associated with !62262 (closed). I'm not sure how to properly get the commit that @garyh added to that MR to show up as part of this MR, but hopefully when this MR merges, it'll show up as part of that MR and then that one can be merged.

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)

Edited by Emma Sax

Merge request reports

Loading