Skip to main content

GA-B003: Unnamed step

Info Best Practice

Why This Matters

Steps with `run:` commands but no `name:` field are hard to identify in the GitHub Actions UI. Named steps improve log readability and debugging. Steps using `uses:` are self-documenting and excluded from this check.

How to Fix

Add a descriptive name to each run step

Before (incorrect)

steps:
  - run: npm test

After (correct)

steps:
  - name: Run tests
    run: npm test

Rule Details

Rule Code
GA-B003
Severity
Info
Category
Best Practice

Related Rules