GA-S001: YAML syntax error
Error Schema
Why This Matters
The workflow file contains invalid YAML syntax that prevents parsing. Common causes include incorrect indentation, missing colons after keys, unmatched quotes, and invalid use of tabs. GitHub Actions cannot read the workflow until the syntax error is fixed.
How to Fix
Fix the YAML syntax error so the file can be parsed.
Before (incorrect)
jobs:
build:
runs-on: ubuntu-latest
steps
- run: echo hello After (correct)
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo hello Rule Details
- Rule Code
- GA-S001
- Severity
- Error
- Category
- Schema