vscode-yaml
vscode-yaml copied to clipboard
gitlab-ci.yml validation issues
This extension is throwing validation errors when using allow_failure: true within gitlab rules syntax.
vscode-yaml version: 0.8.0
Example:
rules:
- if: '$CI_COMMIT_REF_NAME != "master"'
when: manual
allow_failure: true
This is valid syntax as of Gitlab 12.8: https://docs.gitlab.com/ee/ci/yaml/#rulesallow_failure
Hi! I've looked into the issue and it looks like a schema issue. Please file an issue on https://github.com/SchemaStore/schemastore as that's where the schemas are pulled from.
Will do, thanks!
https://github.com/SchemaStore/schemastore/issues/1053