org_runner_group_hosted_runners
Creates, updates, deletes, gets or lists an org_runner_group_hosted_runners resource.
Overview
| Name | org_runner_group_hosted_runners |
| Type | Resource |
| Id | github.actions.org_runner_group_hosted_runners |
Fields
The following fields are returned by SELECT queries:
- list_github_hosted_runners_in_group_for_org
Response
| Name | Datatype | Description |
|---|---|---|
runners | array | |
total_count | number |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_github_hosted_runners_in_group_for_org | select | org, runner_group_id | per_page, page | Lists the GitHub-hosted runners in an organization group. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
org | string | The organization name. The name is not case sensitive. |
runner_group_id | integer | Unique identifier of the self-hosted runner group. |
page | integer | The page number of the results to fetch. For more information, see "Using pagination in the REST API." |
per_page | integer | The number of results per page (max 100). For more information, see "Using pagination in the REST API." |
SELECT examples
- list_github_hosted_runners_in_group_for_org
Lists the GitHub-hosted runners in an organization group.
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
SELECT
runners,
total_count
FROM github.actions.org_runner_group_hosted_runners
WHERE org = '{{ org }}' -- required
AND runner_group_id = '{{ runner_group_id }}' -- required
AND per_page = '{{ per_page }}'
AND page = '{{ page }}'
;