Interview Prep/CI/CD/GitHub Actions

What is a runner, and how do GitHub-hosted and self-hosted runners differ?

BeginnerConceptGitHub Actions
Answer

A runner is the machine that executes a job. GitHub-hosted runners (ubuntu-latest, ubuntu-24.04, windows-latest, macos-latest, plus larger and ARM sizes) are fresh VMs per job, maintained by GitHub, billed by minute for private repos. Self-hosted runners are your machines (VMs, bare metal, Kubernetes pods) with custom hardware and network access to private systems, but you maintain, patch and secure them.

runs-on: [self-hosted, linux, x64, gpu]
All CI/CD questions

More on GitHub Actions