summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml
blob: 61d67a88a5a1d534a28cfb7a853a498b04ee6947 (plain)
1
2
3
4
5
6
7
8
9
- 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')