Error AtlasError Documentation and Resolution

GitHub Actions if expression starting with ! failed YAML parsing

`!` is reserved notation in YAML format.

GitHub Actions conditionals that begin with ! must use expression syntax or quoting because raw YAML treats ! as reserved notation.

`!` is reserved notation in YAML formatconfiguration
`!` is reserved notation in YAML format.
  • An if condition starts with ! without using proper expression syntax.
  • The workflow relies on YAML parsing a negation expression literally.
  • A valid GitHub expression was written in a YAML-invalid form.
  1. Wrap the expression with ${{ }} when the condition starts with !.
  2. Quote or escape the expression if needed for the YAML context.
  3. Retest the workflow after changing the conditional syntax so the parser and expression evaluator both accept it.
GitHub Docs: Workflow syntax for GitHub Actions
GitHub Actions ! is reserved notation in YAML format | Error Atlas