github-actions
Build and debug GitHub Actions CI: quality gates, caching, failure triage, safe secrets. Use when creating workflows or fixing red CI.
SKILL.mdskills/devops/github-actions/SKILL.md
GitHubgithub-actions
Reproduce CI failures locally first; keep pipelines fast, hermetic, and least-privileged.
Activate when
- Creating/modifying workflows, fixing failing checks, or addressing review comments about CI.
Do NOT activate for
- Release tagging/versioning (see git/git-release) or PR content itself (see github/pr-workflow).
Procedure
- Gates: lint → typecheck → test → build; fail fast; pin actions by SHA; minimal
permissions:per job; secrets via encrypted secrets, never logs. - Speed: cache deps properly keyed; matrix only what differs; split slow suites by path and duration.
- Triage red CI: read the failing step log, reproduce with the same command locally, fix, then confirm the same command passes locally.
- Review comments: address each with a code change or an evidence-backed reply (
references/fixer for comment triage lives in github/pr-workflow). - Verify: green run on the PR, no skipped-required-checks, logs free of secrets.
References
- Related:
../docker-compose/,../../tooling/ci-cd/,../../security/secrets-supply-chain/.