ghrunnergroup

command
v0.188.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: BSD-3-Clause Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command ghrunnergroup lists an organisation's Actions runner groups and ensures one exists, restricted to named repositories.

It exists because GARM scale sets join an explicit runner group (garm-cli scaleset add --runner-group) and no fleet program writes runner groups; a hand-written `gh api` write is refused by the guard.

Same model as ghrel: the token comes from a 0600 file (default ~/.github-token, scope admin:org) and goes only in the Authorization header; https only (http for 127.0.0.1 test servers); redirects refused; responses bounded; --dry-run sends only reads.

References (read 2026-11-27):

https://docs.github.com/en/rest/actions/self-hosted-runner-groups
  GET  /orgs/{org}/actions/runner-groups                      200, {total_count, runner_groups[{id,name,visibility,default,allows_public_repositories}]}, per_page<=100
  POST /orgs/{org}/actions/runner-groups                      201, body name, visibility all|selected|private, selected_repository_ids[], allows_public_repositories
  PUT  /orgs/{org}/actions/runner-groups/{id}/repositories/{repo_id}  204, visibility must be "selected"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL