Rapid-fire: inspecting runners and usage through the API.
IntermediateConceptRapid-fire Commands & Syntax
Answer
gh api orgs/ORG/actions/runners --jq '.runners[] | {name, status, busy, labels: [.labels[].name]}'
gh api -X POST orgs/ORG/actions/runners/registration-token --jq .token
gh api repos/ORG/REPO/actions/runs --jq '.workflow_runs[0:5][] | {id, name, conclusion}'
gh api repos/ORG/REPO/actions/cache/usage
gh api repos/ORG/REPO/actions/permissions
More on Rapid-fire Commands & Syntax
Rapid-fire: workflow management with `gh`.BeginnerRapid-fire: secrets, variables and caches with `gh`.BeginnerRapid-fire: workflow commands you should know.BeginnerRapid-fire: environment files.BeginnerRapid-fire: status functions in one line each.BeginnerRapid-fire: five expressions you will write every week.Intermediate