Commit 18ccacb9 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'ps-add-sourcegraph-feature-flag-yml' into 'master'

Add Sourcegraph feature flag yml and ref to `Feature.enabled?` [RUN ALL RSPEC]

See merge request gitlab-org/gitlab!50234
parents eae72cb0 2ad58237
---
name: sourcegraph
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/16556
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/292199
milestone: '12.5'
type: development
group: group::editor
default_enabled: false
...@@ -13,7 +13,8 @@ module Gitlab ...@@ -13,7 +13,8 @@ module Gitlab
end end
def feature_enabled?(actor = nil) def feature_enabled?(actor = nil)
feature.enabled?(actor) # Some CI jobs grep for Feature.enabled? in our codebase, so it is important this reference stays around.
Feature.enabled?(:sourcegraph, actor)
end end
private private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment