capabilities.work

Replace the repo list for an org Dependabot secret

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

Get something done

Replace the repo list for an org Dependabot secret

with GitHub · Vulnerability Management

Use GitHub: its GitHub v3 REST Dependabot API lets you replace the repo list for an org Dependabot secret in a single step (PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories). capabilities.work can help you get signed up and connected.

  • Can I overwrite the full set of repositories allowed to use an org Dependabot secret?
  • Does setting selected repositories replace the existing list?
Say it to your AI assistant
  • Replace the repositories for org secret {secret_name} in {org} with {selected_repository_ids}.
  • Set exactly repos {selected_repository_ids} as the allow-list for Dependabot secret {secret_name} in {org}.
For your developer

PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories in GitHub v3 REST Dependabot API. Full spec on APIs.io.