GitHub Actions
GitHub Actions if expression starting with ! failed YAML parsing
GitHub Actions conditionals that begin with ! must use expression syntax or quoting because raw YAML treats ! as reserved notation.
GitHub Actions
GitHub Actions conditionals that begin with ! must use expression syntax or quoting because raw YAML treats ! as reserved notation.
Observed message
`!` is reserved notation in YAML format.
Why it happens
How to fix it
Official reference
GitHub Docs: Workflow syntax for GitHub ActionsRelated errors
Explore more