name
and visibility
of a self-hosted runner group in an organization.admin:org
scope to use this endpoint.curl --location --request PATCH 'https://api.github.com/orgs//actions/runner-groups/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Expensive hardware runners",
"visibility": "selected"
}'
{
"allows_public_repositories": true,
"default": true,
"id": 0,
"inherited": true,
"inherited_allows_public_repositories": true,
"name": "string",
"runners_url": "string",
"selected_repositories_url": "string",
"visibility": "string"
}
Authorization: Bearer ********************
all
, selected
, or private
.selected
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通