Skip to main content

selected_repositories_enabled

Overview

Nameselected_repositories_enabled
TypeResource
Idgithub.actions.selected_repositories_enabled

Fields

NameDatatypeDescription
idintegerUnique identifier of the repository
namestringThe name of the repository.
descriptionstring
permissionsobject
forksinteger
allow_forkingbooleanWhether to allow forking this repo
updated_atstring
ownerobjectSimple User
allow_rebase_mergebooleanWhether to allow rebase merges for pull requests.
forks_countinteger
is_templatebooleanWhether this repository acts as a template that can be used to generate new repositories.
contents_urlstring
privatebooleanWhether the repository is private or public.
has_pagesboolean
has_projectsbooleanWhether projects are enabled.
git_refs_urlstring
subscribers_urlstring
git_urlstring
mirror_urlstring
has_wikibooleanWhether the wiki is enabled.
merges_urlstring
events_urlstring
archive_urlstring
allow_merge_commitbooleanWhether to allow merge commits for pull requests.
languages_urlstring
blobs_urlstring
organizationobjectSimple User
topicsarray
allow_auto_mergebooleanWhether to allow Auto-merge to be used on pull requests.
has_issuesbooleanWhether issues are enabled.
clone_urlstring
deployments_urlstring
statuses_urlstring
master_branchstring
issue_events_urlstring
watchersinteger
collaborators_urlstring
visibilitystringThe repository visibility: public, private, or internal.
subscription_urlstring
open_issues_countinteger
full_namestring
template_repositoryobject
disabledbooleanReturns whether or not this repository disabled.
git_tags_urlstring
milestones_urlstring
has_downloadsbooleanWhether downloads are enabled.
html_urlstring
archivedbooleanWhether the repository is archived.
created_atstring
comments_urlstring
teams_urlstring
ssh_urlstring
issues_urlstring
urlstring
contributors_urlstring
releases_urlstring
licenseobjectLicense Simple
labels_urlstring
svn_urlstring
watchers_countinteger
pushed_atstring
assignees_urlstring
starred_atstring
notifications_urlstring
default_branchstringThe default branch of the repository.
pulls_urlstring
subscribers_countinteger
sizeinteger
hooks_urlstring
tags_urlstring
temp_clone_tokenstring
network_countinteger
languagestring
node_idstring
homepagestring
stargazers_countinteger
git_commits_urlstring
compare_urlstring
forks_urlstring
keys_urlstring
issue_comment_urlstring
commits_urlstring
stargazers_urlstring
forkboolean
allow_squash_mergebooleanWhether to allow squash merges for pull requests.
trees_urlstring
delete_branch_on_mergebooleanWhether to delete head branches when pull requests are merged
downloads_urlstring
branches_urlstring
open_issuesinteger

Methods

NameAccessible byRequired ParamsDescription
list_selected_repositories_enabled_github_actions_organizationSELECTorgLists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization."

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.
disable_selected_repository_github_actions_organizationEXECorg, repository_idRemoves a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization."

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.
enable_selected_repository_github_actions_organizationEXECorg, repository_idAdds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization."

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.
set_selected_repositories_enabled_github_actions_organizationEXECorg, data__selected_repository_idsReplaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization."

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.