diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-26 15:12:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-26 15:12:49 +0300 |
commit | 5343536f2bb402bc767db2d015e45ac87189d7c3 (patch) | |
tree | 29e7630ace5f465f0b3d6374c044dbb57227d694 /lib/gitlab/checks | |
parent | bc8f298b647859a411d38a440c397e5990ef4941 (diff) |
Add latest changes from gitlab-org/gitlab@master
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/ |