Skip to content

wkirk-git/github-action-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub Actions Boilerplate Repository

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.

πŸ“‚ Repository Structure

.github-actions-boilerplates/
β”œβ”€β”€ workflows/
β”‚   β”œβ”€β”€ ci/
β”‚   β”œβ”€β”€ docker/
β”‚   β”œβ”€β”€ cloud/
β”‚   β”œβ”€β”€ infra/
β”‚   └── misc/
β”‚   └── ai/

πŸš€ Usage

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'

🧰 Workflow Catalog

Continuous Integration (CI)

  • 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.

Containers

Cloud Deployments

  • 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.

Infrastructure-as-Code

Miscellaneous

  • 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.

AI / Machine Learning Workflows

MCP (Model Context Protocol)

MCP Cloud Deployments

  • 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 Kubernetes Deployments

πŸ“œ License

Distributed under the MIT License. See LICENSE for details.