Incorrect error message in CI linter
Summary
Incorrect error message in CI linter when script
is missing.
Steps to reproduce
Create a job in .gitlab-ci.yml
without a script value.
Example Project
Example pipeline https://gitlab.com/caalberts/gitlab-sandbox/-/pipelines/159912091
Example CI lint
What is the current bug behavior?
It shows error message jobs:rspec config should contain either a trigger or a needs:pipeline
What is the expected correct behavior?
It should show error message jobs:rspec config should contain a script
Relevant logs and/or screenshots
See screenshot above
Output of checks
This bug happens on GitLab.com
Edited by Albert Salim