github-actions
Use when setting up CI/CD with GitHub Actions — workflows, jobs, actions, matrix builds, or deployment automation. Also use when debugging workflow failures, optimizing build times, or implementing release automation.
| Model | Source |
|---|---|
| sonnet | pack: deploy |
Full Reference
┏━ 🚀 github-actions ━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Use when setting up CI/CD with GitHub Actions … ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
GitHub Actions
Section titled “GitHub Actions”GitHub Actions automates CI/CD directly in your repo. Workflows are YAML files in .github/workflows/. Triggers, jobs, steps, and actions compose the execution model. ubuntu-latest = Ubuntu 24.04 as of Jan 17, 2025. Docs: https://docs.github.com/en/actions
Quick Reference
Section titled “Quick Reference”| Item | Value |
|---|---|
| Docs | https://docs.github.com/en/actions |
| Workflow location | .github/workflows/*.yml |
| Auth method | GITHUB_TOKEN auto-injected; PAT for cross-repo |
| Key env vars | GITHUB_OUTPUT, GITHUB_ENV, GITHUB_TOKEN |
| ubuntu-latest | Ubuntu 24.04 (x64) |
| macos-latest | macOS 15 (arm64, 10x billing) |
| Cache limit | 10 GB per repo, 7-day eviction |
Reference Index
Section titled “Reference Index”| I want to… | File |
|---|---|
| Structure a workflow, configure triggers, set up jobs, use matrix builds, or add concurrency controls | reference/workflow-syntax.md |
| Cache dependencies, use actions/cache, configure npm/pnpm/yarn, upload artifacts, or set up Node | reference/caching-actions.md |
| Use GITHUB_TOKEN, manage secrets, configure OIDC, write reusable workflows, or set up deployments | reference/secrets-deployment.md |
Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.