Require Pipelines To Be Based on Syntactically Valid YAML
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
We should require pipelines to be based on syntactically valid YAML.
When there are trailing spaces before, after and in between the CI keyword include::, the following can happen:
-
False negative CI linting, where no error shows up regarding the syntax. (Expected behavior: CI validate should detect error with syntax that can result in pipeline not running)
-
No pipeline gets created and no error shows up. The error only show up after re-running the pipeline. (Expected behavior: Error message for no pipeline generated should display after pipeline gets triggered, not just after manually re-running the pipeline)
Edited by 🤖 GitLab Bot 🤖