Skip to main content

GA-L001: Syntax error

Error Semantic

Why This Matters

The workflow file contains a YAML syntax error or uses an unsupported GitHub Actions feature. This prevents the workflow from being parsed and will block execution entirely.

How to Fix

Fix the YAML syntax error or remove the unsupported key.

Before (incorrect)

jobs:
  build:
    runs-on: ubuntu-latest
    unknown-key: value

After (correct)

jobs:
  build:
    runs-on: ubuntu-latest

Rule Details

Rule Code
GA-L001
Severity
Error
Category
Semantic

Related Rules