repos_for_org_variable
Overview
Name | repos_for_org_variable |
Type | Resource |
Id | github.actions.repos_for_org_variable |
Fields
Name | Datatype |
---|---|
repositories | array |
total_count | integer |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_selected_repos_for_org_variable | SELECT | name, org | Lists 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_variable | DELETE | name, org, repository_id | Removes 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_variable | EXEC | name, org, repository_id | Adds 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_variable | EXEC | name, org, data__selected_repository_ids | Replaces 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 thisendpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. |