Commit 75071e5b authored by Shinya Maeda's avatar Shinya Maeda

Merge branch '275997-enable-ci_auto_cancel_all_pipelines' into 'master'

Enable FF ci_auto_cancel_all_pipelines by default

See merge request gitlab-org/gitlab!47906
parents aec9b7b0 34f44631
---
title: Allow canceling all pipelines with auto-cancel
merge_request: 47906
author:
type: fixed
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/275997
milestone: '13.6'
type: development
group: group::pipeline authoring
default_enabled: false
default_enabled: true
......@@ -35,7 +35,7 @@ module Gitlab
# rubocop: enable CodeReuse/ActiveRecord
def pipelines
if ::Feature.enabled?(:ci_auto_cancel_all_pipelines, project, default_enabled: false)
if ::Feature.enabled?(:ci_auto_cancel_all_pipelines, project, default_enabled: true)
project.all_pipelines.ci_and_parent_sources
else
project.ci_pipelines
......
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