Skip to content

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.

ModelSource
sonnetpack: deploy
Full Reference

┏━ 🚀 github-actions ━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Use when setting up CI/CD with 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

ItemValue
Docshttps://docs.github.com/en/actions
Workflow location.github/workflows/*.yml
Auth methodGITHUB_TOKEN auto-injected; PAT for cross-repo
Key env varsGITHUB_OUTPUT, GITHUB_ENV, GITHUB_TOKEN
ubuntu-latestUbuntu 24.04 (x64)
macos-latestmacOS 15 (arm64, 10x billing)
Cache limit10 GB per repo, 7-day eviction
I want to…File
Structure a workflow, configure triggers, set up jobs, use matrix builds, or add concurrency controlsreference/workflow-syntax.md
Cache dependencies, use actions/cache, configure npm/pnpm/yarn, upload artifacts, or set up Nodereference/caching-actions.md
Use GITHUB_TOKEN, manage secrets, configure OIDC, write reusable workflows, or set up deploymentsreference/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.