allow_auto_merge |
Whether to allow auto-merging pull requests |
bool |
false |
no |
allow_merge_commit |
Whether to allow merge commits |
bool |
false |
no |
allow_rebase_merge |
Whether to allow rebase merges |
bool |
true |
no |
allow_squash_merge |
Whether to allow squash merges |
bool |
true |
no |
description |
The description of the repository |
string |
n/a |
yes |
dismiss_stale_reviews |
Whether to enable dismissing stale pull request reviews |
bool |
true |
no |
enable_pages |
Whether to enable GitHub Pages |
bool |
false |
no |
enforce_admins |
Whether to enforce branch protection for administrators |
bool |
false |
no |
gitignore_template |
The gitignore template of the repository |
string |
null |
no |
has_branch_protection |
Whether the repository has branch protection enabled |
bool |
true |
no |
has_discussions |
Whether the repository has discussions enabled |
bool |
false |
no |
has_issues |
Whether the repository has issues enabled |
bool |
false |
no |
has_projects |
Whether the repository has projects enabled |
bool |
false |
no |
has_wiki |
Whether the repository has wiki enabled |
bool |
false |
no |
homepage_url |
The URL of a page to use as the repository's home page |
string |
null |
no |
license_template |
Wheter the repository uses a license template |
string |
null |
no |
name |
The name of the repository |
string |
n/a |
yes |
owner |
The owner of the repository |
string |
n/a |
yes |
pages_branch |
The branch to use for GitHub Pages |
string |
null |
no |
pages_build_type |
The build type of the GitHub Pages |
string |
"workflow" |
no |
pages_cname |
The custom domain of the GitHub Pages |
string |
null |
no |
pages_path |
The path to the GitHub Pages content |
string |
null |
no |
required_approving_review_count |
The number of approving reviews required to change code |
number |
0 |
no |
required_status_checks_contexts |
The list of status checks to require in order to merge into this branch |
list(string) |
[] |
no |
teams |
The team ids to grant access to, and their permission levels |
map(string) |
{} |
no |
topics |
The topics of the repository |
list(string) |
[] |
no |
visibility |
The visibility of the repository |
string |
"private" |
no |
vulnerability_alerts |
Whether the repository has vulnerability alerts enabled |
bool |
false |
no |
webhooks |
Webhooks to configure for the repository |
map(object({ active = bool events = list(string) content_type = string url = string })) |
{} |
no |