Add 'rules' option to include _item object
What does this MR do and why?
Add 'rules' option to include_item object. yaml-linter shows error when you use rules with project object in includes section.
Screenshots or screen recordings
How to set up and validate locally
In VisualCode use this ci.json add your yaml.schema for gitlab pipeline file, i.e.
"yaml.schemas": {
"/local/copy/ci.json": "file:///home/users/fanooel/your_project/pipelines/pipeine.yml"
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Tomasz Woźniak