actions / actions/actions-runner-controller

Add `gh` CLI to runner container images

Open
#3,995 2 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community enhancement needs triage
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

What would you like added?

While I understand some of the reasons in the previous issue about this, I'm trying to open a new issue to help make sure this doesn't get lost track of.

The regular GH runners have gh pre-installed, and not having it on self-hosted runners by default is inconvenient at best.

While it's not a huge number of lines to install it, it is somewhat non-trivial, and there are a few (poorly maintained) third party actions to install it

Why is this needed?

This would provide better parity with GitHub's own hosted runners

Additional context

See #1366

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading #1366 and locating the runner container image definitions; compare the requested GitHub-hosted runner parity with the current image contents. Done means the gh CLI is available by default in the relevant self-hosted runner images, with image or build validation covering the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, kubernetes
Domain
ci-cd, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.