Skip to content
CommandImported

act

Execute GitHub Actions locally using act

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 2.4 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/act.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/act.zip -d ~/.claude/commands

Instructions

Act - GitHub Actions Local Execution

Execute GitHub Actions workflows locally using act: $ARGUMENTS

Current Workflows

  • Available workflows: !find .github/workflows -name "*.yml" -o -name "*.yaml" | head -10
  • Act configuration: @.actrc (if exists)
  • Docker status: !docker --version

Task

Execute GitHub Actions workflow locally:

  1. Setup Verification

    • Ensure act is installed: act --version
    • Verify Docker is running
    • Check available workflows in .github/workflows/
  2. Workflow Selection

    • If workflow specified: Run specific workflow $ARGUMENTS
    • If no workflow: List all available workflows
    • Check workflow triggers and events
  3. Local Execution

    • Run workflow with appropriate flags
    • Use secrets from .env or .secrets
    • Handle platform-specific runners
    • Monitor execution and logs
  4. Debugging Support

    • Use --verbose for detailed output
    • Use --dry-run for testing
    • Use --list to show available actions

Example Commands

# List all workflows
act --list

# Run specific workflow
act workflow_dispatch -W .github/workflows/$ARGUMENTS.yml

# Run with secrets
act --secret-file .env

# Debug mode
act --verbose --dry-run

Files

  • LICENSE1 KB
  • act.md1.3 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/automation/act.md

  • Needs a lookReads a .env file or secrets

    In file cli-tool/components/commands/automation/act.md, line 33

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • CommandImported

    add-performance-monitoring

    Setup comprehensive application performance monitoring with metrics, alerting, and observability

    MITFiles: 1

  • CommandImported

    azure-role-selector

    When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege access and how to apply that role.

    MITFiles: 1

  • CommandImported

    blue-green-deployment

    Implement blue-green deployment strategy with zero-downtime switching, health validation, and automatic rollback

    MITFiles: 1

  • CommandImported

    ci-pipeline

    Manage and automate CI/CD pipeline configuration with GitHub Actions, multi-environment support, and deployment strategies

    MITFiles: 1

  • CommandImported

    ci-setup

    Setup comprehensive CI/CD pipeline with automated testing, building, and deployment

    MITFiles: 1