Skip to content

Customizable default branch name setting

What does this MR do?

For #221013

This MR adds a section in the administration settings that allows changing the default initial branch name to anything.

Since the Admin > Repository section of the settings was untested, this adds a suite to test that the settings are toggled correctly by the feature flag (global_default_branch_name).

Screenshots

Default Modified (+ save + reload)
noSetting anySetting

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] 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
Edited by Thomas Randolph

Merge request reports