diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-01 12:51:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-01 12:51:31 +0300 |
commit | 37d5cece3603d8df9f75c507594e70dade80c99f (patch) | |
tree | 84e6d51a3329b4f9bd13bf92e61fe401446e2d2a /lib/gitlab/checks | |
parent | f8796c0836e943a27e26250c7cd4a5766e567f61 (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-ee
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r-- | lib/gitlab/checks/branch_check.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/checks/branch_check.rb b/lib/gitlab/checks/branch_check.rb index cfff6e919dc..237a6bbb0f2 100644 --- a/lib/gitlab/checks/branch_check.rb +++ b/lib/gitlab/checks/branch_check.rb @@ -40,6 +40,7 @@ module Gitlab private def prohibited_branch_checks + return if deletion? return unless Feature.enabled?(:prohibit_hexadecimal_branch_names, project, default_enabled: true) if branch_name =~ /\A\h{40}\z/ |