notify_stable_branch_creation

in lib/release_tools/public_release/release.rb [247:272]


      def notify_stable_branch_creation
        logger.info('Checking if project and version are eligible for stable branch creation notification', project: project, version: version)

        
        return unless ReleaseTools::ManagedVersioning::PROJECTS.include?(project)

        
        return unless version.rc?

        stable_branch_name = ReleaseTools::ReleaseManagers::Schedule
                               .new
                               .active_version
                               .stable_branch(ee: project.ee_branch?)

        logger.info('Checking if target branch is the stable branch for current monthly release', stable_branch_name: stable_branch_name, target_branch: target_branch)

        return unless target_branch == stable_branch_name

        
        return unless GitlabClient.find_branch(stable_branch_name, project_path)

        Security::NotifyStableBranchCreation
          .new(Security::IssueCrawler.new, project, stable_branch_name)
          .execute
      end