Run GitHub Actions Locally With act
Execute workflow jobs on your machine to debug CI without pushing.
Run act -l to list workflows, then act to execute the default event locally.
01Command
Command
$ act -l02What it does
act reads .github/workflows and runs the selected job inside a Docker container that mimics the GitHub runner. Use act -j build to target a job and act -n for a dry run, which shortens the push-wait-fix loop considerably.
03Risk
!Warning: It needs a running Docker daemon and downloads large runner images the first time; secrets must be provided explicitly.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Homebrew formula: actEvidence: Packages act, which runs GitHub Actions workflows in local containers.
Last verified: 2026-09-22 · Category: Developer