feat: Add ListRunnerGroupHostedRunners for org runner groups#4100
Merged
gmlewis merged 2 commits intogoogle:masterfrom Mar 17, 2026
Merged
feat: Add ListRunnerGroupHostedRunners for org runner groups#4100gmlewis merged 2 commits intogoogle:masterfrom
ListRunnerGroupHostedRunners for org runner groups#4100gmlewis merged 2 commits intogoogle:masterfrom
Conversation
Implement GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners
endpoint to list GitHub-hosted runners in an organization runner group.
This was the only missing endpoint from the self-hosted runner groups API.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4100 +/- ##
==========================================
+ Coverage 93.67% 93.68% +0.01%
==========================================
Files 211 211
Lines 19478 19511 +33
==========================================
+ Hits 18246 18279 +33
Misses 1034 1034
Partials 198 198 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ListRunnerGroupHostedRunners for org runner groups
gmlewis
requested changes
Mar 17, 2026
Collaborator
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @austenstone!
One tweak, please, then we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.
cc: @stevehipwell - @alexandear - @zyfy29 - @Not-Dhananjay-Mishra - @munlicode
Contributor
|
LGTM |
munlicode
approved these changes
Mar 17, 2026
gmlewis
approved these changes
Mar 17, 2026
Collaborator
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @austenstone and @munlicode!
LGTM.
Merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement
GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runnersendpoint to list GitHub-hosted runners in an organization runner group.This was the only missing endpoint from the self-hosted runner groups API.
Changes
actions_runner_groups.go: AddListRunnerGroupHostedRunnersmethod toActionsServiceactions_runner_groups_test.go: Add full test coverage with JSON fixturesgithub-iterators.go: Auto-generatedListRunnerGroupHostedRunnersIterviago generategithub-iterators_test.go: Auto-generated iterator testAPI Reference
Testing
octodemoorg, runner group ID 1) — returns 36 hosted runners with correct deserialization