github-actions

poindexter12's avatarfrom poindexter12

GitHub Actions CI/CD reference for workflow templates, caching strategies,and automation patterns. Includes homelab integration with self-hosted runners.Use when creating workflows, debugging CI failures, or setting up deployments.Triggers: github actions, ci, cd, workflow, pipeline, runner, artifact.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 13, 2025

When & Why to Use This Skill

This Claude skill serves as a comprehensive reference for GitHub Actions CI/CD, providing optimized workflow templates, caching strategies, and automation patterns. It helps developers streamline software delivery, manage self-hosted runners for homelab or enterprise environments, and efficiently debug pipeline failures to ensure robust, secure, and high-performance deployment processes.

Use Cases

  • Automating Build and Test Pipelines: Quickly generate and configure YAML workflows for various languages and environments using standardized templates.
  • CI/CD Troubleshooting and Debugging: Utilize specialized GitHub CLI commands and reference guides to diagnose and fix workflow execution errors or runner failures.
  • Performance Optimization: Implement advanced caching strategies and efficient artifact management to significantly reduce build times and resource consumption.
  • Infrastructure Integration: Set up and manage self-hosted runners to integrate CI/CD workflows with local homelab or private cloud infrastructure.
  • Security Hardening: Apply validation checklists to ensure minimal permissions, secure secret handling, and version-pinned actions for production-grade security.
namegithub-actions
description|
Triggersgithub actions, ci, cd, workflow, pipeline, runner, artifact.

GitHub Actions Skill

GitHub Actions CI/CD reference for workflow templates, caching, and automation patterns.

Quick Reference

gh run list --workflow=<name>  # Recent workflow runs
gh run view <run-id>           # Detailed run output
gh run download <run-id>       # Download logs
gh workflow list               # List workflows
gh workflow run <workflow>     # Trigger workflow
gh run watch <run-id>          # Watch run in real-time

Key Paths:

  • .github/workflows/ - Workflow definitions
  • actions/ - Custom local actions

Reference Files

Load on-demand based on task:

Topic File When to Load
Patterns & Templates patterns.md Workflow templates, caching, security

Workflow Structure

name: Workflow name

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]
  workflow_dispatch:  # Manual trigger

env:
  NODE_VERSION: '18'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: ${{ env.NODE_VERSION }}
          cache: 'npm'
      - run: npm ci
      - run: npm test

Common Triggers

Trigger Use Case
push Build on commits
pull_request PR validation
workflow_dispatch Manual trigger
schedule Cron jobs
release Deploy on release

Validation Checklist

  • Workflow triggers correctly configured
  • Runner selection appropriate
  • Caching implemented for dependencies
  • Secrets properly configured
  • Permissions minimal and explicit
  • Actions pinned to specific versions
  • Branch/path filters correct