github-actions-templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

By wshobson · 15,346 installs

npx skills add wshobson/agents --skill github-actions-templates

Source repository · Upstream listing

GitHub Actions Templates Production ready GitHub Actions workflow patterns for testing, building, and deploying applications. Purpose Create efficient, secure GitHub Actions workflows for continuous integration and deployment across various tech stacks. When to Use Automate testing and deployment Build Docker images and push to registries Deploy to Kubernetes clusters Run security scans Implement matrix builds for multiple environments Common Workflow Patterns Pattern 1: Test Workflow Reference: See assets/test workflow.yml Pattern 2: Build and Push Docker Image Reference: See assets/deploy workflow.yml Pattern 3: Deploy to Kubernetes Pattern 4: Matrix Build Reference: See assets/matrix build.yml Workflow Best Practices 1. Use specific action versions (@v4, not @latest) 2. Cache dependencies to speed up builds 3. Use secrets for sensitive data 4. Implement status checks on PRs 5. Use matrix builds for multi version testing 6. Set appropriate permissions 7. Use reusable workflows for common patterns 8. Implement approval gates for production 9. Add notification steps for failures 10. Use self hosted runners for sensitive workloads Reusable Workflows Use reusable workflow: Security Scanning Deployment with Approvals Related Skills gitlab ci patterns For GitLab CI workflows deployment pipeline design For pipeline architecture secrets management For secrets handling