HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

act — Execute GitHub Actions locally using Docker. More information: <https://manned.org/act>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
actionscommandgithubexecutecliusinglocallyact

Problem

How to use the act command: Execute GitHub Actions locally using Docker. More information: <https://manned.org/act>.

Solution

act — Execute GitHub Actions locally using Docker. More information: <https://manned.org/act>.

List the available jobs:
act {{[-l|--list]}}


Run the default event:
act


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}}

Code Snippets

List the available jobs

act {{[-l|--list]}}

Run the default event

act

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]}}

Context

tldr-pages: common/act

Revisions (0)

No revisions yet.