Replace the repositories that can use an org secret
One step with GitHub Actions. We can help you get access.
Get something done
Replace the repositories that can use an org secret
with GitHub Actions · Configuration & Secrets Management
Works with AI assistants
Use GitHub Actions: its GitHub Actions Secrets API lets you replace the repositories that can use an org secret in a single step (PUT /orgs/{org}/actions/secrets/{secret_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 change which repositories get access to an organization secret?
- Can I replace the whole list of repos for a selected-visibility org secret at once?
Say it to your AI assistant
- Grant org secret {secret_name} in {org} to exactly repositories {selected_repository_ids}.
- Replace the repository access list for secret {secret_name} with {selected_repository_ids}.
For your developer
PUT /orgs/{org}/actions/secrets/{secret_name}/repositories in GitHub Actions Secrets API. Full spec on APIs.io.