capabilities.work

Add a repo to an organization variable

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

Get something done

Add a repo to an organization variable

Works with AI assistants

Use GitHub Actions: its Github Actions API lets you add a repo to an organization variable in a single step (PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}). 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 include another repo in an organization variable that is restricted to selected repos?
  • Can I add a single repo to an org variable's allowed list?
Say it to your AI assistant
  • Add repository {repository_id} to organization variable {name} in {org}.
  • Grant org variable {name} in {org} to repo {repository_id}.
For your developer

PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id} in Github Actions API. Full spec on APIs.io.