README.md: - GitHub-friendly documentation - Installation instructions - Plugin overview with commands review plugin: - /review:security - Security-focused review - /review:pr - PR review - hooks.json - Post PR create suggestion - scripts/post-pr-create.sh verify plugin: - /verify:ready - Quick readiness check - /verify:tests - Test verification - hooks.json - Pre-push warning - scripts/pre-push-check.sh qa plugin: - /qa:check - Report only, no fixes - /qa:lint - Lint with fix option - hooks.json - QA output filtering ci plugin: - /ci:status - CI status display - /ci:run - Trigger workflows - /ci:fix - Analyse and fix failures - hooks.json - Post-push CI hint - scripts/post-push-ci.sh Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
76 lines
1.3 KiB
Markdown
76 lines
1.3 KiB
Markdown
---
|
|
name: run
|
|
description: Trigger a CI workflow run
|
|
args: [workflow-name]
|
|
---
|
|
|
|
# Run Workflow
|
|
|
|
Manually trigger a GitHub Actions workflow.
|
|
|
|
## Usage
|
|
|
|
```
|
|
/ci:run # Run default workflow
|
|
/ci:run tests # Run specific workflow
|
|
/ci:run release # Trigger release workflow
|
|
```
|
|
|
|
## Process
|
|
|
|
1. **List available workflows**
|
|
```bash
|
|
gh workflow list
|
|
```
|
|
|
|
2. **Trigger workflow**
|
|
```bash
|
|
gh workflow run tests.yml
|
|
gh workflow run tests.yml --ref feature-branch
|
|
```
|
|
|
|
3. **Watch progress**
|
|
```bash
|
|
gh run watch
|
|
```
|
|
|
|
## Common Workflows
|
|
|
|
| Workflow | Trigger | Purpose |
|
|
|----------|---------|---------|
|
|
| `tests.yml` | Push, PR | Run test suite |
|
|
| `lint.yml` | Push, PR | Run linters |
|
|
| `build.yml` | Push | Build artifacts |
|
|
| `release.yml` | Tag | Create release |
|
|
| `deploy.yml` | Manual | Deploy to environment |
|
|
|
|
## Output
|
|
|
|
```markdown
|
|
## Workflow Triggered
|
|
|
|
**Workflow**: tests.yml
|
|
**Branch**: feature/add-auth
|
|
**Run ID**: 12345
|
|
|
|
Watching progress...
|
|
|
|
```
|
|
⠋ Tests running...
|
|
✓ Setup (12s)
|
|
✓ Install dependencies (45s)
|
|
⠋ Run tests (running)
|
|
```
|
|
|
|
**Run completed in 2m 34s** ✓
|
|
```
|
|
|
|
## Options
|
|
|
|
```bash
|
|
# Run with inputs (for workflows that accept them)
|
|
gh workflow run deploy.yml -f environment=staging
|
|
|
|
# Run on specific ref
|
|
gh workflow run tests.yml --ref main
|
|
```
|