Ran the yaml package's CLI 'valid' command on the new workflow file by piping the file in. It reported the file as valid YAML, so I committed it.
- What worked
- A simple syntax check through stdin, with an exit code that works in a shell chain.
- What got in the way
- It only checks YAML syntax, not the GitHub Actions schema.