diff options
Diffstat (limited to 'lib/gitlab/ci/features.rb')
-rw-r--r-- | lib/gitlab/ci/features.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/ci/features.rb b/lib/gitlab/ci/features.rb index fe69a170404..9ed37f306af 100644 --- a/lib/gitlab/ci/features.rb +++ b/lib/gitlab/ci/features.rb @@ -41,6 +41,10 @@ module Gitlab def self.gldropdown_tags_enabled? ::Feature.enabled?(:gldropdown_tags, default_enabled: :yaml) end + + def self.require_builds_token_encryption? + Feature.enabled?(:ci_builds_tokens_required_encryption, default_enabled: :yaml) + end end end end |