Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-09-26 21:10:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-26 21:10:03 +0300
commit332df93cf612d3ad71e35f6dc214f9b984d45287 (patch)
treedc4439df46db6cc81979b074aba870a7830b0ffe /app/models
parent5608dbe14d3bd0d95a78e50e0cf3f162342f013e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/pipeline.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 5bf4e846304..0a876d26cc9 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -1366,6 +1366,11 @@ module Ci
merge_request.merge_request_diff_for(merge_request_diff_sha)
end
+ def reduced_build_attributes_list_for_rules?
+ ::Feature.enabled?(:reduced_build_attributes_list_for_rules, project)
+ end
+ strong_memoize_attr :reduced_build_attributes_list_for_rules?
+
private
def add_message(severity, content)