-link_to_protected_branches=link_to_('Learn more about protected branches'),help_page_path('user/project/protected_branches')
=_('Note that the master branch is automatically protected. %{link_to_protected_branches}').html_safe%{link_to_protected_branches: link_to_protected_branches}
%hr
%p
You will need to be owner or have the master permission level for the initial push, as the master branch is automatically protected.
-link_to_auto_devops_settings=link_to(s_('AutoDevOps|enable Auto DevOps (Beta)'),project_settings_ci_cd_path(@project,anchor: 'js-general-pipeline-settings'))
-link_to_add_kubernetes_cluster=link_to(s_('AutoDevOps|add a Kubernetes cluster'),project_clusters_path(@project))
=s_('AutoDevOps|You can automatically build and test your application if you %{link_to_auto_devops_settings} for this project. You can automatically deploy it as well, if you %{link_to_add_kubernetes_cluster}.').html_safe%{link_to_auto_devops_settings: link_to_auto_devops_settings,link_to_add_kubernetes_cluster: link_to_add_kubernetes_cluster}
=link_toadd_special_file_path(@project,file_name: '.gitlab-ci.yml',commit_message: 'Set up auto deploy',branch_name: 'auto-deploy',context: 'autodeploy')do