commands.sh

act

all

Execute GitHub Actions locally using Docker.

More info →

Options (5)

-l, --listboolean

List the available jobs

Example: act {{[-l|--list]}}
-j, --jobboolean

Run a specific job

Example: act {{[-j|--job]}} {{job_id}}
-n, --dryrunboolean

Do [n]ot actually run the actions (i.e. a dry run)

Example: act {{[-n|--dryrun]}}
-v, --verboseboolean

Show verbose logs

Example: act {{[-v|--verbose]}}
-W, --workflowsboolean

Run a specific workflow with the push event

Example: act push {{[-W|--workflows]}} {{path/to/workflow}}

Examples (7)

List the available jobs

act [-l|--list]

Run the default event

Run a specific event

act event_type

Run a specific job

act [-j|--job] job_id

Do [n]ot actually run the actions (i.e. a dry run)

act [-n|--dryrun]

Show verbose logs

act [-v|--verbose]

Run a specific workflow with the push event

act push [-W|--workflows] path/to/workflow
made by @shridhargupta | data from tldr-pages