Run
act <event>
Run a given event (pull_request, schedule)
act -l
List workflows and jobs for the event
act -j <job>
Run only one job by ID
act -W <path>
Use a workflow file or directory
act -n
Dry run: validate without containers
act -e <event.json>
Supply an event payload file
A pull_request payload needs head.ref and base.ref; a tag push
needs ref set to refs/tags/<tag>.
act workflow_dispatch --input
<NAME>=<value>
Set a dispatch input
act --input-file <file>
Read inputs from a .env-style file
act --matrix <key>:<value>
Limit matrix to combinations
Cannot add values the workflow does not define; exclude wins
over --matrix.
act -g
Draw the workflow graph
act --validate
Validate workflows
act --detect-event
Use the workflow's first event type
act -w
Re-run when local files change
act -C <dir>
Set the working directory
act -a <user>
Set the triggering actor
Images and containers
act -P <label>=<image>
Map a runs-on label to an image
act -P <label>=-self-hosted
Run a label directly on the host
act --pull=false
Use local images, skip pulling
act --container-architecture <os/arch>
Force architecture, e.g. linux/amd64
Handy on Apple silicon; needs Docker API 1.41 or newer.
act -r
Reuse containers to keep state
act -b
Bind-mount the directory, do not copy
act --rm
Remove containers after a failure
act --privileged
Run containers privileged
act --container-options <opts>
Extra docker options for job containers
act --container-cap-add <cap>
Add a kernel capability
act --network <name>
Set the docker network
act --container-daemon-socket <uri>
Docker socket URI, or - to disable
act --use-gitignore=false
Copy gitignored paths too
act --rebuild
Rebuild local action images
Output and offline
act --log-prefix-job-id
Show job ID, not full name, in logs
act --action-offline-mode
Use cached actions and images
Works after at least one online run.
act --artifact-server-path <dir>
Enable artifact upload/download
The artifact server is off unless a path is set.
act --no-cache-server
Disable the cache server
act --concurrent-jobs <n>
Cap parallel jobs
act --bug-report
Print system info for a report