github-actions-ci
Installation
SKILL.md
GitHub Actions CI
Overview
GitHub Actions enables automated build, test, and deployment workflows directly in your GitHub repository. This skill should be invoked when setting up CI/CD pipelines for automated testing, code quality checks, and build verification on pull requests and commits.
Core Principles
- Workflow as Code: Define CI/CD pipelines in YAML files stored in the repository
- Trigger Selection: Choose appropriate triggers (push, pull_request, schedule) to balance coverage and speed
- Matrix Strategy: Use matrix builds to test across multiple versions/configurations efficiently
- Artifact Management: Properly configure artifact retention and caching
Preparation Checklist
- Identify the workflows needed (CI, CD, security scans)
- Ensure build and test scripts exist and work locally
- Determine required runtime versions (Node, Python, .NET, etc.)
- Plan secret management for deployment workflows