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
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/commandsFor 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:
-
Setup Verification
- Ensure act is installed:
act --version - Verify Docker is running
- Check available workflows in
.github/workflows/
- Ensure act is installed:
-
Workflow Selection
- If workflow specified: Run specific workflow
$ARGUMENTS - If no workflow: List all available workflows
- Check workflow triggers and events
- If workflow specified: Run specific workflow
-
Local Execution
- Run workflow with appropriate flags
- Use secrets from
.envor.secrets - Handle platform-specific runners
- Monitor execution and logs
-
Debugging Support
- Use
--verbosefor detailed output - Use
--dry-runfor testing - Use
--listto show available actions
- Use
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).