From d6ec92917a0779bcce91187b0c57f274b36bfb83 Mon Sep 17 00:00:00 2001 From: Akshay Gupta Date: Tue, 8 Oct 2024 01:28:01 +0530 Subject: [PATCH] Make set_ci_cd_workflows public --- app/models/train.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/train.rb b/app/models/train.rb index 96a04727f..3113022ad 100644 --- a/app/models/train.rb +++ b/app/models/train.rb @@ -465,6 +465,10 @@ def stop_failed_ongoing_release! ongoing_release.stop! end + def set_ci_cd_workflows + config.set_ci_cd_workflows(workflows) + end + private def train_link @@ -481,10 +485,6 @@ def last_finished_release releases.where(status: "finished").reorder(completed_at: :desc).first end - def set_ci_cd_workflows - config.set_ci_cd_workflows(workflows) - end - def set_constituent_seed_versions semverish = version_seeded_with.to_semverish self.major_version_seed, self.minor_version_seed, self.patch_version_seed = semverish.major, semverish.minor, semverish.patch