A command-line tool that executes GitHub Actions workflows on your machine using Docker. It mirrors GitHub’s environment for faster feedback while editing workflow files.
Overview
Act reads workflow definitions from a repository’s GitHub Actions configuration, determines which actions must run, and builds or pulls the images those workflows require. It then runs each action in containers via the Docker API, wiring environment variables and filesystem layout to match what GitHub provides during CI runs.
Typical motivations include getting fast feedback without pushing commits to test workflow changes, and reusing defined automation steps as a local task runner instead of maintaining separate scripts. A Visual Studio Code extension can launch and manage act from the editor.
Operation depends on Docker: the tool uses the Docker API for image preparation and container execution along an execution path derived from workflow dependencies. Users point it at a repository that already contains workflow files.
Act targets developers and DevOps users who work with GitHub Actions and want local parity with cloud runners for iteration and validation.
Key features
- Runs GitHub Actions workflows locally
- Docker-based action execution
- Reads .github/workflows definitions
- Pulls or builds workflow images
- Matches GitHub env and filesystem
- Dependency-ordered execution path
- VS Code extension integration
- Local workflow testing without push
Use cases
- Testing workflow edits before push
- Local CI feedback loop
- Replacing Makefile tasks with workflows
- Validating GitHub Actions locally
- DevOps workflow development