capabilities.work

Set the repos that can use an organization variable

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

Get something done

Set the repos that can use an organization variable

Works with AI assistants

Use GitHub Actions: its Github Actions API lets you set the repos that can use an organization variable in a single step (PUT /orgs/{org}/actions/variables/{name}/repositories). 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 decide which repos an organization variable is available to?
  • Can I replace the repo list on an org variable?
Say it to your AI assistant
  • Set the selected repositories for organization variable {name} in {org} to {selected_repository_ids}.
  • Replace the repo list on org variable {name} so only {selected_repository_ids} can read it.
For your developer

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