Using CI Lint tool on an empty repository results in a error 500
Summary
When using the CI Lint tool to validate a .gitlab-ci.yml file in an empty repository, the error will reply an error 500.
Steps to reproduce
- Create a new empty project (without README)
- Go in page CI / CD -> Job
- Click on CI Lint
- Paste a valid .gitlab-ci.yml file
- Click on validate => you will get an error 500
Example Project
Any new project.
What is the current bug behavior?
The server reply with the default error 500 page.
What is the expected correct behavior?
A parsing of the syntax or a more informative response indicating that the operation is impossible in an empty repository.
Version
Bug as been reproduce on :
- 11.1.0-ee (9a9f41dc)
- On the current version of gitlab.com (free version)