act

Run your GitHub Actions locally ๐Ÿš€

21 articles 69.1k View on GitHub โ†—
21 articles
Auto-Removing Containers After Workflow Execution with `act --rm`

Automatically remove Docker containers after workflow execution with act --rm. Free up disk space and prevent clutter from accumulated containers. Learn how today!

how-to-guide
Mar 3, 2026
Managing Container Capabilities in act with --container-cap-add and --container-cap-drop

Secure your GitHub Actions workflows by mastering container capabilities in act. Use --container-cap-add and --container-cap-drop for precise security control.

how-to-guide
Mar 3, 2026
How to Use Git Ignore Rules with act --use-gitignore

Learn how to use git ignore rules with act --use-gitignore to exclude files from Docker containers in your GitHub Actions workflows with nektos/act. Improve your CI/CD.

how-to-guide
Mar 3, 2026
How to Configure User Namespaces for Containers in act Using the `--userns` Flag

Master configuring user namespaces for containers in act using the --userns flag. Run containers with custom UID/GID mappings for enhanced security.

how-to-guide
Mar 3, 2026
Running act in Privileged Docker Mode: A Complete Guide to the `--privileged` Flag

Master running act in privileged Docker mode with the --privileged flag. Grant full Linux capabilities to workflow containers and unlock advanced Docker functionality for your act workflows.

how-to-guide
Mar 3, 2026
Setting the Default Branch in act with the `--defaultbranch` Flag

Easily set the default branch in act with the --defaultbranch flag for accurate local GitHub Actions runs and correct ${{ github.ref }} resolution.

how-to-guide
Mar 3, 2026
How to Specify a Custom Event Path with `act --eventpath`

Learn to specify a custom event path with act --eventpath and inject your own GitHub event JSON payloads for local workflow runs. Easily control your tests.

how-to-guide
Mar 3, 2026
Detecting GitHub Events Automatically with act --detect-event: A Complete Implementation Guide

Learn how to detect GitHub events automatically with act --detect-event. This guide shows you how to infer triggering events, saving you manual configuration time.

how-to-guide
Mar 3, 2026
How to Force Rebuild Docker Images in act: Complete Guide

Learn how to force rebuild Docker images in act with the --rebuild flag. Skip unnecessary builds by reusing cached images for faster workflows.

how-to-guide
Mar 3, 2026
How to Force Docker Image Pulls Using `act --pull`

Force Docker image pulls with act --pull to ensure your nektosact workflows use the latest image layers. Avoid outdated dependencies for reliable CI automation.

how-to-guide
Mar 3, 2026
Binding Work Directories in Act Using `--bind`: A Complete Technical Guide

Learn how to bind work directories in act using --bind for instant file sync. This technical guide explains how the --bind flag streamlines your workflow by mounting host directories into containers.

how-to-guide
Mar 3, 2026
Leveraging act's --reuse Flag for Docker Containers to Maintain State Between Runs

Master Docker stateful testing with act's --reuse flag. Preserve containers and volumes between runs for efficient local development and debugging. Simplify your workflow today.

how-to-guide
Mar 3, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too โ†’