When to use this skill
Use this skill whenever the user wants to:
- Write or debug GitHub Actions workflows (
.github/workflows/*.yml) - Configure triggers, jobs, steps, secrets, matrices, and reuse
- Integrate checkout, build, test, deploy, and notifications
How to use this skill
- Workflow: define in YAML
on、jobs、steps; useactions/checkout, official/third-party actions; configure secrets in Settings. - Reuse: composite actions, reusable workflows; matrix strategy runs multiple versions/platforms.
- Environment: runner environment (Ubuntu/Windows/macOS); for container jobs, pay attention to networking and mounts.
Best Practices
- Use
secretsto store tokens and secrets; do not echo sensitive information in logs. - Add
idandoutputsto key steps for use by subsequent steps. - Cache dependencies (actions/cache); when necessary, use concurrency to cancel old runs.
Keywords
github actions, workflow, yaml, CI/CD, workflow, automation