Sodamhan.com

TL;DR

act

Execute GitHub Actions locally using Docker. More information: https://github.com/nektos/act.

  • list the available jobs:

act -l

  • Run the default event:

act

  • Run a specific event:

act event_type

  • Run a specific job:

act -j job_id

  • Do not actually run the actions (i.e. a dry run):

act -n

  • Show verbose logs:

act -v

  • Run a specific Workflow with the push event:

act push -W path/to/workflow

This document was created using the contents of the tldr project.