GHA Cheatsheet

Top patterns.

Overview

GitHub Actions is the CI/CD platform that lives inside GitHub itself. Five primitives carry most operational use: YAML workflows, triggers, matrix builds, marketplace actions, and secrets with OIDC for short-lived cloud credentials. The integration with the rest of GitHub (PRs, issues, releases) is what makes it the default for repos that already live there.

The approach

Five idioms cover most operational GHA use. Memorising them moves the team from copy-paste to confident workflow authoring.

Why this compounds

Each workflow captures testing or deploy knowledge. Reusable workflows spread patterns across the org; OIDC removes a recurring credential-management problem; matrix builds extend coverage cheaply.