Skip to main content

GA-L002: Invalid expression

Error Semantic

Why This Matters

An expression inside ${{ }} is syntactically invalid or references an unknown context, function, or property. GitHub Actions will fail to evaluate the expression at runtime.

How to Fix

Fix the expression syntax or use a valid context/function.

Before (incorrect)

run: echo ${{ github.events.inputs.name }}

After (correct)

run: echo ${{ github.event.inputs.name }}

Rule Details

Rule Code
GA-L002
Severity
Error
Category
Semantic

Related Rules