debian-mirror-gitlab/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml
2019-02-15 15:39:39 +05:30

9 lines
358 B
Text

- if viewer.valid?(project: @project, sha: @commit.sha, user: @current_user)
= icon('check fw')
This GitLab CI configuration is valid.
- else
= icon('warning fw')
This GitLab CI configuration is invalid:
= viewer.validation_message(project: @project, sha: @commit.sha, user: @current_user)
= link_to 'Learn more', help_page_path('ci/yaml/README')