Adds a self-hosted runner to a runner group configured in an organization. You must authenticate using an access token with the admin:org scope to use this endpoint.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.github.com/orgs//actions/runner-groups//runners/'
响应示例响应示例
{}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数
org
string
必需
runner_group_id
integer
必需
Unique identifier of the self-hosted runner group.