This rule belongs to the
yaml-semantic-validation ruleset and states that:
A YAML document compatibility is mostly verified through the YAML version number specified in the %YAML directive. The %YAML directive and the version number specified in this directive must be valid.
|Message||Incompatible YAML document found.|
- Ensure you haven't specified an invalid version number for the %YAML directive.
- Try adding %YAML 1.1 as the first line of the directive and remove all other %YAML directives.