跳到正文
cccskills
免费在 GitHub 公开

act.quickstart

Agent workflow for running, listing, validating, and testing GitHub Actions workflows locally via act CLI.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli星标 56(GitHub 56 + cccskills 0)
集成工具GitHubDocker

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

act Quickstart

Use this when AI agents need to run GitHub Actions workflows locally before pushing to GitHub.

Commands

  • act <resource> <action> — Execute act commands
  • act workflow list — List all available workflows and jobs from .github/workflows/
  • act workflow run — Run a workflow (default: push event)
  • act job run — Run a specific job by ID
  • act workflow validate — Validate workflow files without running
  • act workflow dryrun — Dry run mode - validate workflow and show what would run
  • act secret list — List configured secrets from .actrc files
  • act secret add — Add a secret for workflow runs
  • act workflow watch — Watch for file changes and re-run workflows

1) Install plugin and dependency

supercli plugins learn act
# Install act
curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | sh
# or: brew install act
act --version
# Install plugin
supercli plugins install ./plugins/act --on-conflict replace --json

2) Validate CLI wiring

act --version
docker --version
supercli plugins doctor act --json

3) Prerequisites

Workflow files must exist in .github/workflows/ directory.

# Verify workflows exist
ls -la .github/workflows/
# Or create one
mkdir -p .github/workflows

4) Core command patterns

List workflows

supercli act workflow list

Run workflows

# Run push event (default)
supercli act workflow run

# Run pull_request event
supercli act workflow run --event pull_request

# Run specific job
supercli act workflow run --job test

# With secrets
supercli act workflow run --secrets '["GITHUB_TOKEN=xxx","API_KEY=yyy"]'

Validate workflows

# Validate without running
supercli act workflow validate

# Dry run mode
supercli act workflow dryrun

Watch mode (auto-reload)

supercli act workflow watch

Job-specific run

supercli act job run --job build

Secrets management

# List configured secrets
supercli act secret list

# Add a secret
supercli act secret add --name GITHUB_TOKEN --value xxx

5) Docker Requirements

act runs workflows in Docker containers:

  • Docker must be running
  • Default images: catthehacker/ubuntu:act-latest
  • Custom images: act -P ubuntu-latest=my-custom-image
  • No Docker: act -P ubuntu-latest=-self-hosted

6) Agent workflow: Test before push

# 1. List available workflows
supercli act workflow list

# 2. Dry run to validate
supercli act workflow run --dryrun true

# 3. Run specific job
supercli act workflow run --job test

# 4. Run full workflow
supercli act workflow run

7) Safety levels

CommandLevelDescription
workflow list, validate, dryrun, secret listsafeRead-only or validate
workflow run, job run, secret addguardedRuns containers
workflow watchguardedContinuous execution

Guard commands may require Docker resources. Use --dryrun true to validate first.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use this skill when the user wants to use 100-exercises-to-learn-rust.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

2to3

免费

Use this skill when the user wants to use 2to3, cli tool: 2to3.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

2to3-2.7

免费

Use this skill when the user wants to use 2to3-2.7, cli tool: 2to3-2.7.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

2to3-3.11

免费

Use this skill when the user wants to use 2to3-3.11, cli tool: 2to3-3.11.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

411toppm

免费

Use this skill when the user wants to use 411toppm, cli tool: 411toppm.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

53AIHub

免费

Use this skill when the user wants to use 53AIHub.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

查看 javimosch 的全部技能

报告此技能的问题