nektos /act

Run your GitHub Actions locally 🚀

★ 72,625⑂ 2,117👁 202⑃ 1,503● 1,360▤ 105◈ 230
GoMITCreated 2019-01-02nektosact.com
72,625
stars
+28+106+362
2,117
forks
202
watchers
1,503
prs
1,360
issues
105
releases
230
discussions

README

Overview  

 "Think globally, act locally"

Run your GitHub Actions locally! Why would you want to do this? Two reasons:

- Fast Feedback - Rather than having to commit/push every time you want to test out the changes you are making to your .github/workflows/ files (or for any changes to embedded GitHub actions), you can use act to run the actions locally. The environment variables and filesystem are all configured to match what GitHub provides.
- Local Task Runner - I love make). However, I also hate repeating myself. With act, you can use the GitHub Actions defined in your .github/workflows/ to replace your Makefile!

 [!TIP]
 Now Manage and Run Act Directly From VS Code!
 Check out the GitHub Local Actions Visual Studio Code extension which allows you to leverage the power of act to run and test workflows locally without leaving your editor.

 How Does It Work?

When you run act it reads in your GitHub Actions from .github/workflows/ and determines the set of actions that need to be run. It uses the Docker API to either pull or build the necessary images, as defined in your workflow files and finally determines the execution path based on the dependencies that were defined. Once it has the execution path, it then uses the Docker API to run containers for each action based on the images prepared earlier. The environment variables and filesystem are all configured to match what GitHub provides.

Let's see it in action with a sample repo!

!Demo

 Act User Guide

Please look at the act user guide for more documentation.

 Support

Need help? Ask in discussions!

 Contributing

Want to contribute to act? Awesome! Check out the contributing guidelines to get involved.

 Manually building from source

- Install Go (version in go.mod, currently 1.26.0) - ()
- Clone this repo git clone [email protected]:nektos/act.git
- Run unit tests with make test (requires Docker)
- Run fast tests without Docker with make test-fast
- Build and install: make install

Top issues

Discussions

Latest release

v0.2.97 v0.2.97 2026-11-04
Changelog
 Bug fixes
 2540ba6c49dfbafe167d655e4044921cd2ed19e7 fix: mask nested secrets longest-first (GHSA-5xfg)

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON