summaryrefslogtreecommitdiff
path: root/tooling/danger/stable_branch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tooling/danger/stable_branch.rb')
-rw-r--r--tooling/danger/stable_branch.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tooling/danger/stable_branch.rb b/tooling/danger/stable_branch.rb
index 2751a6f0191..9deb4838079 100644
--- a/tooling/danger/stable_branch.rb
+++ b/tooling/danger/stable_branch.rb
@@ -85,12 +85,12 @@ module Tooling
!has_flaky_failure_label?
end
- private
-
def valid_stable_branch?
!!stable_target_branch && !helper.security_mr?
end
+ private
+
def package_and_test_bridge_and_pipeline_status
mr_head_pipeline_id = gitlab.mr_json.dig('head_pipeline', 'id')
return unless mr_head_pipeline_id