act
Run your GitHub Actions locally ๐
Automatically remove Docker containers after workflow execution with act --rm. Free up disk space and prevent clutter from accumulated containers. Learn how today!
Managing Container Capabilities in act with --container-cap-add and --container-cap-dropSecure your GitHub Actions workflows by mastering container capabilities in act. Use --container-cap-add and --container-cap-drop for precise security control.
How to Use Git Ignore Rules with act --use-gitignoreLearn 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 Configure User Namespaces for Containers in act Using the `--userns` FlagMaster configuring user namespaces for containers in act using the --userns flag. Run containers with custom UID/GID mappings for enhanced security.
Running act in Privileged Docker Mode: A Complete Guide to the `--privileged` FlagMaster 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.
Setting the Default Branch in act with the `--defaultbranch` FlagEasily set the default branch in act with the --defaultbranch flag for accurate local GitHub Actions runs and correct ${{ github.ref }} resolution.
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.
Detecting GitHub Events Automatically with act --detect-event: A Complete Implementation GuideLearn 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 Force Rebuild Docker Images in act: Complete GuideLearn how to force rebuild Docker images in act with the --rebuild flag. Skip unnecessary builds by reusing cached images for faster workflows.
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.
Binding Work Directories in Act Using `--bind`: A Complete Technical GuideLearn 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.
Leveraging act's --reuse Flag for Docker Containers to Maintain State Between RunsMaster Docker stateful testing with act's --reuse flag. Preserve containers and volumes between runs for efficient local development and debugging. Simplify your workflow today.
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:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too โ