Skip to main content

repos_for_secret

Overview

Namerepos_for_secret
TypeResource
Idgithub.dependabot.repos_for_secret

Fields

NameDatatype
repositoriesarray
total_countinteger

Methods

NameAccessible byRequired ParamsDescription
list_selected_repos_for_org_secretSELECTorg, secret_nameLists all repositories that have been selected when the visibility for repository access to a secret is set to selected. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the dependabot_secrets organization permission to use this endpoint.
remove_selected_repo_from_org_secretDELETEorg, repository_id, secret_nameRemoves a repository from an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the dependabot_secrets organization permission to use this endpoint.
add_selected_repo_to_org_secretEXECorg, repository_id, secret_nameAdds a repository to an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the dependabot_secrets organization permission to use this endpoint.
set_selected_repos_for_org_secretEXECorg, secret_name, data__selected_repository_idsReplaces all repositories for an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the dependabot_secrets organization permission to use this endpoint.