cicd-github-actions

Standardize GitHub Actions CI/CD workflows with minimal permissions and secure secrets.

15|2|Updated Dec 13, 2025
One-click install
npx skills add https://github.com/d-padmanabhan/agent-engineering-handbook --skill cicd-github-actions-d-padmanabhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cicd-github-actions
Source: https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/cicd-github-actions
Command: npx skills add https://github.com/d-padmanabhan/agent-engineering-handbook --skill cicd-github-actions-d-padmanabhan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you implement secure, reliable, and performant CI/CD pipelines in GitHub Actions without repeatedly re-inventing best practices or missing critical hardening steps.

Core Features & Use Cases

  • Security hardening for workflows: enforce minimal permissions, safe secrets handling, and OIDC-based authentication patterns.
  • Performance and reliability: add dependency caching, matrix/parallel execution, and concurrency control to reduce time and avoid race conditions.
  • Maintainable automation: leverage reusable workflows and provide consistent job outputs to support deployment stages and downstream steps.

Use case: you are asked to review a repo’s .github/workflows/*.yml and ensure it follows least-privilege permissions, correct PR triggering, caching, timeouts, and safe usage of secrets—before you trust the pipeline for releases.

Quick Start

Tell me to audit and rewrite the GitHub Actions workflows in .github/workflows/*.yml to enforce minimal permissions, safe secrets handling, caching, concurrency, and proper PR triggers based on this Skill.

Frequently Asked Questions about cicd-github-actions

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

FAQPage Schema
How do I secure GitHub Actions workflows with minimal permissions and safe secrets handling?

Add dependency caching and concurrency control to GitHub Actions pipelines to reduce execution time and prevent race conditions. These features optimize CI/CD performance and ensure reliable, parallel job execution without overlapping deployments.

What are reusable workflows in GitHub Actions and when should I use them?

Audit GitHub Actions workflows by reviewing action versions and enforcing an action-version audit mindset for supply-chain risk mitigation. Check `.github/workflows/*.yml` files to ensure pinned versions, minimal permissions, and safe OIDC authentication patterns.

Does GitHub Actions support matrix strategies and job timeouts for build pipelines?

Yes, GitHub Actions supports matrix strategies for parallel execution and job timeouts to prevent hanging builds. Combining these features ensures dependable delivery and performance optimization across diverse CI test environments.

Why do my GitHub Actions deployments fail due to race conditions and how can I prevent them?

GitHub Actions deployments fail due to race conditions when concurrent jobs overlap. Prevent this by implementing concurrency control in your workflows, which cancels outdated runs and ensures only the latest deployment proceeds safely.