ci-cd-and-automation

Automate GitHub Actions CI/CD pipelines with quality gates and preview deployments.

1|Updated Jan 28, 2025
One-click install
npx skills add https://github.com/josuenavarroaguado/josuenavarroaguado.github.io --skill ci-cd-and-automation-josuenavarroaguado
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/josuenavarroaguado/josuenavarroaguado.github.io/tree/main/.github/skills/ci-cd-and-automation
Command: npx skills add https://github.com/josuenavarroaguado/josuenavarroaguado.github.io --skill ci-cd-and-automation-josuenavarroaguado

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents untested, unreviewed, or insecure changes from reaching production by automating CI/CD quality gates and deployment verification so teams catch issues early and consistently.

Core Features & Use Cases

  • Quality Gates Enforcement: Enforce linting, type checks, unit tests, integration tests, build verification, security audits, and bundle-size checks before merges.
  • Integration and E2E Support: Run containerized databases and migrations in CI for reliable integration tests and optional E2E suites with artifact capture on failures.
  • Deployment Strategies: Provide preview deployments per PR, feature-flag-driven rollouts, staged releases, and explicit rollback workflows to minimize production risk.
  • Operational Practices: Advocate secrets management, branch protection, required status checks, and a Build Cop role to keep pipelines healthy.
  • Use Case: Set up a GitHub Actions workflow that runs lint, typecheck, tests, build, and security audit on every pull request, deploys a preview for manual verification, and gates production releases behind staging and feature flags.

Quick Start

Use this skill to create a GitHub Actions workflow that runs lint, type checks, tests, build, and a preview deployment on every pull request.

Frequently Asked Questions about ci-cd-and-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a CI/CD pipeline with GitHub Actions that runs tests and builds on pull requests?

To set up a CI/CD pipeline with GitHub Actions, create workflows that automatically enforce linting, type checks, unit tests, and build verification on every pull request to catch issues early before merging.

What quality gates should a CI/CD pipeline enforce before merging code?

A CI/CD pipeline should enforce quality gates including linting, type checks, unit tests, integration tests, security audits, and bundle-size checks to prevent untested or insecure changes from reaching production.

How do I run integration tests with containerized databases in GitHub Actions CI?

Running integration tests in GitHub Actions CI involves configuring containerized databases and migrations within the workflow, capturing artifacts on failures to ensure reliable database testing during pull requests.

Can I use feature flags and preview deployments for staged rollouts in CI/CD?

Feature flags and preview deployments support staged rollouts in CI/CD by deploying preview environments per pull request and gating production releases behind explicit feature flags and rollback workflows to minimize risk.

Does GitHub Actions CI/CD support secrets management and branch protection for secure deployments?

GitHub Actions CI/CD supports secrets management, branch protection, and required status checks to maintain pipeline health and prevent unauthorized or insecure code from deploying to production environments.

What is the best way to automate deployment verification and rollbacks in a CI/CD pipeline?

The best way to automate deployment verification and rollbacks in a CI/CD pipeline is using explicit rollback workflows, staged releases, and a Build Cop role to monitor pipeline health and quickly revert problematic deployments.