feat: Add custom image endpoints for GitHub-hosted runners by austenstone · Pull Request #4101 · google/go-github
added 2 commits
March 16, 2026 18:29Add 6 new endpoints for managing custom images on GitHub-hosted runners,
for both organization and enterprise levels:
- ListHostedRunnerCustomImages: GET .../hosted-runners/images/custom
- GetHostedRunnerCustomImage: GET .../hosted-runners/images/custom/{id}
- DeleteHostedRunnerCustomImage: DELETE .../hosted-runners/images/custom/{id}
- ListHostedRunnerCustomImageVersions: GET .../hosted-runners/images/custom/{id}/versions
- GetHostedRunnerCustomImageVersion: GET .../hosted-runners/images/custom/{id}/versions/{ver}
- DeleteHostedRunnerCustomImageVersion: DELETE .../hosted-runners/images/custom/{id}/versions/{ver}
New types: HostedRunnerCustomImage, HostedRunnerCustomImages,
HostedRunnerCustomImageVersion, HostedRunnerCustomImageVersions
Fixes #XXXX
austenstone added a commit to austenstone/terraform-provider-github that referenced this pull request
Mar 16, 2026Add three new data sources for managing custom images on GitHub-hosted runners: - github_actions_hosted_runner_custom_images: List all custom images for an org - github_actions_hosted_runner_custom_image: Get a single custom image definition - github_actions_hosted_runner_custom_image_versions: List versions of a custom image WIP: Blocked on google/go-github#4101 merging. Currently uses raw HTTP calls via the v3client to avoid a go-github version bump. Once the go-github PR lands and is released, these can be migrated to typed SDK methods. Includes acceptance tests, provider registration, and website docs.
gmlewis
changed the title
Add custom image endpoints for GitHub-hosted runners
feat: Add custom image endpoints for GitHub-hosted runners
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