Interview Prep/GitHub Actions/Custom Actions & Reusable Workflows

What is `nektos/act` and what are its limits?

IntermediateConceptCustom Actions & Reusable Workflows
Answer

act runs workflows locally in Docker containers that mimic runner images, which speeds up iteration on syntax and scripts:

act pull_request -j test --secret-file .secrets -P ubuntu-24.04=catthehacker/ubuntu:act-24.04

Limits: images differ from real runners, no real GITHUB_TOKEN or OIDC, partial support for some features (service containers, caches, artifacts, reusable workflows across repos), and Windows/macOS jobs do not run. Use it for the inner loop, verify on GitHub.

All GitHub Actions questions Roadmap: GitHub Actions

More on Custom Actions & Reusable Workflows