{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nAuthenticated users must have admin access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."},"runner_id":{"type":"integer","description":"Unique identifier of the self-hosted runner."}},"required":["owner","repo","runner_id"],"additionalProperties":false},"body":{"type":"object","required":["labels"],"properties":{"labels":{"type":"array","minItems":0,"maxItems":100,"description":"The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.","items":{"type":"string"}}},"examples":[{"labels":["gpu","accelerated"]}]}},"required":["path","body"],"additionalProperties":false},"name":"Set custom labels for a self-hosted runner for a repository","id":"github.actions.set-custom-labels-for-self-hosted-runner-for-repo","example":{"path":{"owner":"octocat","repo":"hello-world","runner_id":1},"body":{"labels":["gpu","accelerated"]}},"maxRequests":1,"summary":false}}