Github CLI extension for managing github self-hosted action runners.
Most of the features in the extension require github enterprise.
gh extension install embedded-community/gh-runner
Define organization with either GH_RUNNER_EXTENSION_GITHUB_ORGANIZATION
env variable or giving
gh runner --org <github-organization>
parameter for each command execution.
Each command provides detailed help with --help
parameter.
$ gh runner groups list
$ gh runner groups create <name> <visibility>
$ gh runner group show <group_id> <info_type>
$ gh runner group delete <group_id>
$ gh runner repo list
$ gh runner group manage <group_id> link-repo <repo_id>
$ gh runner group manage <group_id> unlink-repo <repo_id>