Verification · Static analysis · CI workflow linting
Workflow syntax
Validate workflow files and embedded shell before they run.
How to build it
- Run actionlint on every file under .github/workflows.
- Install shellcheck beside actionlint so run: blocks are checked as shell.
- Make the actionlint check required before merge.
Signals in a repository
- An actionlint step in a CI workflow or an actionlint entry in .pre-commit-config.yaml.
- Workflow files that pass actionlint with no suppression comments.
In practice
12 repositories run a tool for this check in the scanned set.
actionlint· 12 repos
Examples
-
n8n-io/n8n ·
actionlintactionlint {staged_files} -
python/cpython ·
actionlintpre-commit hook actionlint -
vllm-project/vllm ·
actionlintpre-commit hook actionlint -
Homebrew/brew ·
actionlintactionlint -
astral-sh/ruff ·
actionlintpre-commit hook actionlint