Skip to main content

GA-F001: Jobs not alphabetically ordered

Info Style

Why This Matters

Alphabetical job ordering makes large workflow files easier to navigate and produces more predictable diffs in version control. When jobs are sorted consistently, reviewers can find specific jobs quickly without scanning the entire file.

How to Fix

Reorder jobs alphabetically

Before (incorrect)

jobs:
  deploy:
    ...
  build:
    ...

After (correct)

jobs:
  build:
    ...
  deploy:
    ...

Rule Details

Rule Code
GA-F001
Severity
Info
Category
Style

Related Rules