Static checker for GitHub Actions workflow files
open sourceMITself-hostablefree
actionlint is a static checker for GitHub Actions workflow files. It checks workflow syntax, type-checks ${{ }} expressions, verifies action inputs and step outputs and reusable workflow calls, runs shellcheck and pyflakes on run: scripts, and flags script injection from untrusted inputs and hard-coded credentials, as well as glob, cron, runner label and needs: mistakes. It runs as a CLI, in pre-commit and CI, and in an online playground.
Ways to install
Package managers
Problems it solves
- my GitHub Actions workflow only fails after I push it
- lint GitHub workflow YAML for mistakes before committing
- catch script injection from pull request titles in our workflows
- typo in a workflow expression silently evaluates to empty
- check the shell scripts inside GitHub Actions steps
Features
- syntax check
- expression type check
- action input and output checks
- reusable workflow checks
- shellcheck and pyflakes integration
- script injection and credential checks
- online playground
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has official SDKs | plan not known |
