Commit a050719d authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'make-allow-to-run-in-parent-pipeline-by-default' into 'master'

Default Enable ci_allow_to_create_merge_request_pipelines_in_target_project feature flag

See merge request gitlab-org/gitlab!37322
parents f5ac701e 1e0b150a
---
title: Allow to create merge request pipelines in target project when user has permission
merge_request: 37322
author:
type: added
...@@ -71,7 +71,7 @@ module Gitlab ...@@ -71,7 +71,7 @@ module Gitlab
end end
def self.allow_to_create_merge_request_pipelines_in_target_project?(target_project) def self.allow_to_create_merge_request_pipelines_in_target_project?(target_project)
::Feature.enabled?(:ci_allow_to_create_merge_request_pipelines_in_target_project, target_project) ::Feature.enabled?(:ci_allow_to_create_merge_request_pipelines_in_target_project, target_project, default_enabled: true)
end end
def self.ci_plan_needs_size_limit?(project) def self.ci_plan_needs_size_limit?(project)
......
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