Skip to main content

repos_for_org_variable

Overview

Namerepos_for_org_variable
TypeResource
Idgithub.actions.repos_for_org_variable

Fields

NameDatatype
repositoriesarray
total_countinteger

Methods

NameAccessible byRequired ParamsDescription
list_selected_repos_for_org_variableSELECTname, orgLists all repositories that can access an organization variable
that is available to selected repositories.

You must authenticate using an access token with the admin:org scope to use this endpoint.
If the repository is private, you must use an access token with the repo scope.
GitHub Apps must have the organization_actions_variables:read organization permission to use this endpoint.
Authenticated users must have collaborator access to a repository to create, update, or read variables.
remove_selected_repo_from_org_variableDELETEname, org, repository_idRemoves a repository from an organization variable that is
available to selected repositories. Organization variables that are available to
selected repositories have their visibility field set to selected.

You must authenticate using an access token with the admin:org scope to use this endpoint.
If the repository is private, you must use an access token with the repo scope.
GitHub Apps must have the organization_actions_variables:write organization permission to use this endpoint.
Authenticated users must have collaborator access to a repository to create, update, or read variables.
add_selected_repo_to_org_variableEXECname, org, repository_idAdds a repository to an organization variable that is available to selected repositories.
Organization variables that are available to selected repositories have their visibility field set to selected.

You must authenticate using an access token with the admin:org scope to use this endpoint.
If the repository is private, you must use an access token with the repo scope.
GitHub Apps must have the organization_actions_variables:write organization permission to use this endpoint.
Authenticated users must have collaborator access to a repository to create, update, or read variables.
set_selected_repos_for_org_variableEXECname, org, data__selected_repository_idsReplaces all repositories for an organization variable that is available
to selected repositories. Organization variables that are available to selected
repositories have their visibility field set to selected.

You must authenticate using an access token with the admin:org scope to use this endpoint.
If the repository is private, you must use an access token with the repo scope.
GitHub Apps must have the organization_actions_variables:write organization permission to use this
endpoint.
Authenticated users must have collaborator access to a repository to create, update, or read variables.