Tools

GitHub Actions Cheat Sheet

Print-ready cheat sheet for GitHub Actions, organized for fast lookup, study, and desk-side use

Source
GitHub Actions Documentation (docs.github.com/actions)
License
MIT
Updated
2026-03-27

Sample

What's in this cheat sheet

  • Workflow Basics
  • Triggers
  • Jobs & Steps
  • Actions
  • Environment Variables
  • Secrets
  • Matrix Strategy
  • Caching
  • Artifacts
  • Common Patterns

Minimal Workflow

# .github/workflows/ci.yml
name: CI
on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: echo "Hello from CI"

Key Concepts

WorkflowYAML file in `.github/workflows/` that defines automation
EventTrigger that starts a workflow (push, PR, schedule, etc.)
JobSet of steps that run on the same runner
StepIndividual task — runs a command or uses an action
RunnerVM that executes jobs (`ubuntu-latest`, `macos-latest`, `windows-latest`)
ActionReusable unit of code referenced with `uses:`

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read