Check-yaml throws this error when running against a .gitlab-ci.yml file that contains a reference tag, that is a valid yaml code and the file runs ok but I'm unable to commit if this Hook is in place.
[Pre-Commit] Check YAML Syntax...........................................Failed
- hook id: check-yaml
- exit code: 1
could not determine a constructor for the tag '!reference'
in ".gitlab-ci.yml", line 26, column 7
Check-yaml throws this error when running against a .gitlab-ci.yml file that contains a reference tag, that is a valid yaml code and the file runs ok but I'm unable to commit if this Hook is in place.