finds.dev

rhysd/actionlint

Static checker for GitHub Actions workflow files

View on GitHubHomepage ↗

★ 4,370GoMITupdated Jul 2026

// the take

actionlint is a static analyzer for GitHub Actions workflow YAML, written in Go. It goes well beyond schema validation: it type-checks the `${{ }}` expression language, validates action inputs/outputs against real action metadata, and flags script-injection risks. It's for anyone who maintains more than a trivial amount of CI workflow YAML and is tired of finding typos only after a push.

The expression type checker is the standout feature — it catches things like referencing a non-existent matrix key or dereferencing a string as an object, which no YAML schema validator can do. It integrates shellcheck and pyflakes for inline `run:` blocks, so it catches real shell/script bugs inside the workflow file, not just structural ones. It checks `with:`/`outputs:` against actual action metadata (via a maintained popular-actions database), catching renamed or misspelled inputs like `node_version` vs `node-version`. The security check for untrusted expression interpolation (e.g. `github.event.head_commit.message` in an inline script) targets a real, well-documented GitHub Actions attack vector, not a made-up lint rule.

Action input/output validation depends on a bundled, periodically-regenerated `popular_actions.json` snapshot — for less common, private, or very recently updated actions, you lose that check or risk stale data between actionlint releases. Full shellcheck/pyflakes coverage requires those tools to be present on the machine running actionlint, so a bare CI container or minimal dev box won't get complete results without extra setup. As a lint tool tracking an external, evolving schema (GitHub adds runner labels, event types, and syntax regularly), there's an inherent lag risk — new GitHub features can trigger false 'unknown' errors until the next release catches up. Suppression is limited to self-hosted runner labels, config variables, and path-based ignore patterns — there's no fine-grained per-rule disable comparable to typical linters.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

search the same ground:

// at a glance

Stars
4,370
Forks
291
Language
Go
License
MIT
Last commit
16 Jul 2026

// nearby

If actionlint isn't quite it.

All repos →