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