github-actions-templates

Create GitHub Actions workflows for testing, building, and deploying applications.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/SanketAdlak/PDMProjectDesign --skill github-actions-templates-sanketadlak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-actions-templates
Source: https://github.com/SanketAdlak/PDMProjectDesign/tree/main/.agents/skills/github-actions-templates
Command: npx skills add https://github.com/SanketAdlak/PDMProjectDesign --skill github-actions-templates-sanketadlak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up CI/CD pipelines from scratch is time-consuming and error-prone, requiring knowledge of YAML syntax, action versions, caching strategies, and security best practices. This Skill provides ready-to-use GitHub Actions workflow patterns that cover the most common automation scenarios. ## Core Features & Use Cases - Test and Matrix Workflows: Run tests across multiple Node.js or Python versions and operating systems with dependency caching and coverage uploads. - Docker Build and Push: Build container images, tag them with semantic versioning metadata, and push to GitHub Container Registry with layer caching. - Kubernetes Deployment: Configure AWS credentials, update kubeconfig, and deploy to EKS clusters with rollout verification. - Security and Approvals: Run Trivy and Snyk vulnerability scans with SARIF uploads, and gate production deployments behind environment approvals. - Use Case: You just created a Node.js repository and need CI. Ask for a test workflow, and get a complete YAML file with matrix builds, npm caching, linting, and coverage reporting ready to commit. ## Quick Start Create a GitHub Actions workflow that runs tests on Node.js 18 and 20 for every pull request to the main branch.

Frequently Asked Questions about github-actions-templates

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

FAQPage Schema
How do I create a GitHub Actions workflow for Node.js testing?

Create a YAML file in .github/workflows that triggers on push and pull_request, uses actions/setup-node with a matrix of Node versions, caches npm dependencies, then runs npm ci, lint, and test steps. Coverage can be uploaded with codecov/codecov-action.

How to build and push Docker images in GitHub Actions?

Use docker/login-action to authenticate to ghcr.io with GITHUB_TOKEN, docker/metadata-action to generate semver tags, and docker/build-push-action to build and push. Enable cache-from and cache-to with type=gha for faster builds.

Can GitHub Actions deploy to an AWS EKS Kubernetes cluster?

Yes. Use aws-actions/configure-aws-credentials with stored AWS secrets, run aws eks update-kubeconfig to configure kubectl, then apply manifests with kubectl apply and verify with kubectl rollout status.

How do I require approval before deploying to production?

Add an environment block to the deployment job referencing a GitHub environment configured with required reviewers. The workflow pauses until a reviewer approves, and the environment can also store protection rules and secrets.

Why should I pin GitHub Actions to specific versions?

Pinning actions to major versions like @v4 instead of @latest prevents unexpected breaking changes when upstream actions release updates. It makes workflows reproducible and reduces the risk of supply-chain surprises.

What are reusable workflows in GitHub Actions?

Reusable workflows are workflow files triggered by workflow_call that accept inputs and secrets, letting multiple repositories or jobs share one tested pipeline definition. Call them with the uses keyword at the job level.