eslint/eslint - GitHub Actions cost & CI smells

From the depmedic OSS benchmark dataset. Source: public workflow YAML in eslint/eslint/.github/workflows.

Workflows
8
Per-run $ (modeled)
$1.54
Monthly $ @ 30/day
$1,382.4
ci-doctor findings
46
Numbers are modeled: 8 minutes per priced job, 30 runs per day per workflow, 30-day month, GitHub-hosted runner rate sheet. eslint/eslint's real run frequency is unknown to me. Smells, however, are real - they come from parsing the actual YAML.

Findings by rule

RuleHits
missing-timeout16
missing-cache14
missing-concurrency6
fail-fast-true3
always-run-on-pr3
matrix-overcommit2
missing-permissions2

Per-workflow breakdown

Workflow Jobs Per-run $ Findings
ci.yml 6 $0.77 16
types-integration.yml 6 $0.45 14
codeql-analysis.yml 1 $0.06 5
docs-ci.yml 1 $0.06 3
pr-labeler.yml 1 $0.06 2
rebuild-docs-sites.yml 1 $0.06 3
update-readme.yml 1 $0.06 3
stale.yml 1 $0.00 0

Examples of what ci-doctor reports

ci.yml · WARN missing-cache
actions/setup-go has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
ci.yml · WARN missing-cache
actions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
ci.yml · WARN missing-cache
actions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
types-integration.yml · WARN missing-cache
actions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
types-integration.yml · WARN missing-cache
actions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.
types-integration.yml · WARN missing-cache
actions/setup-node has no cache option. Add 'with: cache: <ecosystem>' to skip dep re-downloads. Saves 30-90 seconds per run.

What you can do

If you maintain eslint/eslint or a similar workflow shape, three patterns probably move the most dollars per minute of work:

  1. Add a concurrency: block with cancel-in-progress: true on every PR-triggered workflow.
  2. Set timeout-minutes on every job (default is 6 hours).
  3. Make sure every setup-* action sets cache: <ecosystem>.

Free CLIs that automate the audit and the pin step:

npx ci-doctor             # 14-rule audit
npx ci-doctor --fix       # auto-apply the four safe fixes
npx pin-actions           # pin every uses: ref to a SHA
npx gha-budget            # estimate per-run $ + monthly

Want the full pattern set?

The Cut Your CI Bill cookbook is 30 paste-ready GitHub Actions patterns plus 5 hardened workflow templates. $19, one-time, MIT-licensed templates.

Get the cookbook

About this dataset

Methodology and code: /blog/oss-ci-cost-benchmarks.html. Compare with all 20 repos: /benchmarks.html. This page is regenerated when the benchmark dataset is refreshed.