capabilities.work

Replace all custom labels on a runner

One step with GitHub Actions. We can help you get access.

Get something done

Replace all custom labels on a runner

Works with AI assistants

Use GitHub Actions: its GitHub Actions Self-Hosted Runners API lets you replace all custom labels on a runner in a single step (PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I overwrite a runner's custom labels with a completely new set?
  • Can I reset a runner's labels to an exact list in one call?
Say it to your AI assistant
  • Replace the custom labels on runner {runner_id} in {owner}/{repo} with {labels}.
  • Set runner {runner_id}'s labels to exactly {labels}, dropping the old ones.
For your developer

PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels in GitHub Actions Self-Hosted Runners API. Full spec on APIs.io.