Replace the repos that can use an org secret
One step with GitHub. We can help you get access.
Get something done
Replace the repos that can use an org secret
with GitHub · Continuous Integration Management
Use GitHub: its GitHub v3 REST Actions API lets you replace the repos that can use an org secret in a single step (PUT /orgs/{org}/actions/secrets/{secret_name}/repositories). capabilities.work can help you get signed up and connected.
- Can I reset the entire list of repos that get an organization secret?
- How do I overwrite which selected repositories an org secret is shared with?
Say it to your AI assistant
- Replace the repos for org secret {secret_name} in {org} with {selected_repository_ids}.
- Share secret {secret_name} in organization {org} with only repositories {selected_repository_ids}.
For your developer
PUT /orgs/{org}/actions/secrets/{secret_name}/repositories in GitHub v3 REST Actions API. Full spec on APIs.io.