GitHub Actions

The dominant CI/CD platform in 2026 (~33% market share, JetBrains DevEcosystem 2024). Workflow architecture, runner types, OIDC auth to clouds, reusable workflows, supply-chain hardening, scaling patterns at monorepo size.

Overview

GitHub Actions in practice

GitHub Actions is the CI/CD system built into GitHub. It reached general availability with CI/CD in November 2019 and overtook Jenkins as the most-used CI/CD tool by 2022. In JetBrains' 2024 State of Developer Ecosystem report, adoption stood at about 33% for GitHub Actions, about 28% for Jenkins and about 21% for GitLab CI.

For any team already on GitHub it is the path of least resistance, but the depth is real. You choose between hosted and self-hosted runners, federate to clouds with OIDC, share pipelines through reusable workflows and composite actions, defend the supply chain that marketplace actions open up, and scale CI for a monorepo. This chapter is about that operational reality, and it starts with how a workflow actually runs.

Key concepts

  • Workflow file
  • Runner types
  • OIDC federation to AWS / GCP / Azure
  • Reusable workflows (workflow_call)
  • Composite action
  • Caching (actions/cache)
  • Concurrency control
  • Matrix strategy
  • Permissions block (GITHUB_TOKEN)
  • Action pinning (SHA vs tag)
  • Recipe: monorepo build with Turborepo + path-filter
  • Recipe: Docker build with SLSA provenance + cosign signing
  • Recipe: debug a stuck workflow (canceled, queued, no-show)
  • Recipe: required-reviewer production deploy via Environments

Interview questions

  • Walk through GitHub Actions runner types and when you'd pick each.
  • Show me how OIDC federation to AWS works and why it replaces long-lived keys.
  • How do you scale GitHub Actions for a monorepo where every PR triggers 30 minutes of CI?
  • Walk through hardening a production GitHub Actions setup against supply-chain attacks.
  • Compare GitHub Actions, Jenkins, and GitLab CI — when do you pick which?
  • Show me a "production-grade" GitHub Actions workflow — what would you put in it?
  • Explain the key GitHub Actions trigger events and how path filters prevent wasted CI runs.
  • How does caching work in GitHub Actions, and how do you share data between jobs?

Sign up free to read the full topic

More DevOps topics

Start free on Cariara · Coding problems · System design studio