A curated collection of reusable GitHub Actions workflows for the most common DevOps build, test, and deploy pipelines. Copy them into your project or consume them as reusable workflows.
.github-actions-boilerplates/
βββ workflows/
β βββ ci/
β βββ docker/
β βββ cloud/
β βββ infra/
β βββ misc/
β βββ ai/
Copy a workflow into your repository under .github/workflows/
, or reference it as a reusable workflow:
jobs:
build:
uses: your-org/github-actions-boilerplates/.github/workflows/ci/nodejs.yml@main
with:
node-version: '20'
-
Node.js β Run Node.js builds & tests with dependency caching.
-
Python β Run tests with pytest/tox, cache pip dependencies.
-
Java (Maven) β Compile & test Java projects using Maven.
-
.NET β Build and test .NET Core projects.
-
Go β Build, lint, and test Go projects.
-
Rust β Build & test Rust projects with Cargo.
-
PHP β Run Composer install & PHPUnit tests.
-
Ruby β Run Bundler setup & RSpec/Rake tests.
-
Docker Build & Push β Build Docker images and push to GHCR or DockerHub.
-
Docker Compose Test β Run integration tests using docker-compose.
-
Kaniko Build β Build Docker images without Docker using Kaniko.
-
AWS Deploy β Deploy artifacts to AWS (S3, ECS, Lambda).
-
GCP Deploy β Deploy to Google Cloud (Cloud Run, GKE).
-
Azure Deploy β Deploy to Azure WebApps or AKS.
-
Azure AKS β Deploy Kubernetes manifests to Azure Kubernetes Service.
-
Azure Functions β Deploy serverless applications to Azure Functions.
-
Azure Container Apps β Deploy containerized workloads to Azure Container Apps.
-
Azure Static Web Apps β Deploy JAMstack or SPA apps to Azureβs static hosting service.
-
Azure Bicep/ARM β Provision Azure infrastructure using Bicep or ARM templates.
-
Terraform Plan & Apply β Validate, plan, and apply Terraform configurations.
-
Ansible Lint β Lint Ansible playbooks for best practices.
-
Kubernetes Deploy β Deploy Kubernetes manifests via kubectl.
-
Helm Deploy β Deploy applications using Helm charts.
-
Helm Lint β Validate Helm charts with linting and template rendering.
-
Kustomize Deploy β Deploy manifests with Kustomize overlays.
-
Kubernetes Validate β Dry-run manifest validation.
-
Kubernetes Policy Check β Enforce best practices with kube-score.
-
ArgoCD Sync β Trigger ArgoCD application sync.
-
Kubernetes Image Update β Patch deployments with new image tags.
-
Lint & Format β Run code style checks and format validation.
-
Security Scans β Run Trivy or similar scanners on codebase & dependencies.
-
Release β Auto-generate GitHub Releases from tags with changelog notes.
-
Train ML Model β Runs a training pipeline for ML/DL projects (PyTorch, TensorFlow, Hugging Face).
-
Test ML Model β Executes unit tests and model evaluation metrics.
-
Deploy to Hugging Face Hub β Publishes models to Hugging Faceβs Model Hub.
-
Deploy Model with Docker β Builds and pushes ML model APIs as Docker containers.
-
MLflow Experiment Tracking β Logs and tracks experiments in MLflow.
-
AWS SageMaker β Train and deploy ML models on AWS SageMaker.
-
GCP Vertex AI β Train and deploy ML models on Google Cloud Vertex AI.
-
Azure ML β Train and deploy ML models using Azure Machine Learning.
-
Build & Test MCP Server β CI workflow for validating MCP servers (Node.js or Python).
-
Publish MCP Server β Publishes MCP servers to npm or PyPI.
-
MCP Integration Test β Runs integration tests between MCP client(s) and server(s).
-
Deploy MCP Server (Docker) β Builds and pushes MCP servers as containerized services.
-
AWS Lambda β Deploy MCP servers as serverless functions on AWS Lambda.
-
AWS ECS β Deploy containerized MCP servers on AWS ECS.
-
GCP Cloud Run β Deploy MCP servers as managed containers on Google Cloud Run.
-
Azure Container Apps β Deploy MCP servers to Azure Container Apps.
-
MCP kubectl Deploy β Deploy MCP server manifests to Kubernetes clusters.
-
MCP Helm Deploy β Deploy MCP server using Helm charts.
-
MCP K8s Integration Test β Run MCP integration tests inside a Kubernetes cluster.