GitHub Actions accepts invalid YAML, and conforming parsers cannot read some real workflows
A note published on 22 November on yossarian.net, the blog of the author of the zizmor tool, documents that GitHub Actions accepts several constructions that are not valid YAML. The practical result, in the author's words, is that some real-world action and workflow definitions are difficult or impossible to parse with a parser that follows the specification.
The case that started it was reported in zizmor issue 1116 a year and a half ago: a workflow step passed a multi-line JSON document as a single-quoted string, and the closing line of that string sat at the same indentation as its parent key. YAML 1.2.2, section 8.2.3, says flow nodes nested in a block collection must be indented by at least one more space than the parent. The valid version differs by a single space on the last line. The author first changed tree-sitter-yaml to accept the form and has now opened a pull request to revert that change.
On GitHub's side the author notes that much of the Actions code is proprietary, but that it appears to use YamlDotNet 5.3.0 from 2018. Upgrading to the current 18.1.0 would not help, because the check there still exempts single-quoted strings. The author's guess is that a 2020 fix covered only the double-quoted form because the official YAML test suite exercises rule 8.2.3 only with a double-quoted string.

Why it matters
When the platform that runs a file accepts more than the format allows, the platform's behaviour becomes the real format. Linters, editors and security scanners that follow the specification then reject files that run fine in production, and each tool has to decide whether to copy the leniency.