9 lines
358 B
Text
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')
|