Skip to content

GitHub Actions runners

GitHub Actions runners are the compute environments that execute the jobs defined in GitHub Actions workflows.^[400-devops-04-ci-cd-pipelines-github-github-action.md]

Runner Types

Runners are categorized based on their hosting and management model:

  • GitHub-hosted runners: These are virtual machines provided and managed by GitHub^[400-devops-04-ci-cd-pipelines-github-github-action.md].
  • Self-hosted runners: These are runners hosted and managed by the user^[400-devops-04-ci-cd-pipelines-github-github-action.md].

Configuration

In a workflow file, the specific runner environment is selected using the runs-on key^[400-devops-04-ci-cd-pipelines-github-github-action.md]. A common example for a GitHub-hosted runner is ubuntu-latest^[400-devops-04-ci-cd-pipelines-github-github-action.md].

Sources

^[400-devops-04-ci-cd-pipelines-github-github-action.md]