GitHub Actions CI/CD reference for workflow templates, caching strategies, and automation patterns. Includes homelab integration with self-hosted runners. Use when creating workflows, debugging CI failures, or setting up deployments. Triggers: github actions, ci, cd, workflow, pipeline, runner, artifact.
GitHub Actions CI/CD reference for workflow templates, caching, and automation patterns.
gh run list --workflow=<name> # Recent workflow runs
gh run view <run-id> # Detailed run output
gh run download <run-id> # Download logs
gh workflow list # List workflows
gh workflow run <workflow> # Trigger workflow
gh run watch <run-id> # Watch run in real-time
Key Paths:
.github/workflows/ - Workflow definitionsactions/ - Custom local actionsLoad on-demand based on task:
| Topic | File | When to Load | |-------|------|--------------| | Patterns & Templates | patterns.md | Workflow templates, caching, security |
name: Workflow name
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: # Manual trigger
env:
NODE_VERSION: '18'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- run: npm ci
- run: npm test
| Trigger | Use Case |
|---------|----------|
| push | Build on commits |
| pull_request | PR validation |
| workflow_dispatch | Manual trigger |
| schedule | Cron jobs |
| release | Deploy on release |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer