4.7 KiB
4.7 KiB
EditRepoOption
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| allow_fast_forward_only_merge | bool | either `true` to allow fast-forward-only merging pull requests, or `false` to prevent fast-forward-only merging. | [optional] |
| allow_manual_merge | bool | either `true` to allow mark pr as merged manually, or `false` to prevent it. | [optional] |
| allow_merge_commits | bool | either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. | [optional] |
| allow_rebase | bool | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. | [optional] |
| allow_rebase_explicit | bool | either `true` to allow rebase with explicit merge commits (--no-ff), or `false` to prevent rebase with explicit merge commits. | [optional] |
| allow_rebase_update | bool | either `true` to allow updating pull request branch by rebase, or `false` to prevent it. | [optional] |
| allow_squash_merge | bool | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. | [optional] |
| archived | bool | set to `true` to archive this repository. | [optional] |
| autodetect_manual_merge | bool | either `true` to enable AutodetectManualMerge, or `false` to prevent it. Note: In some special cases, misjudgments can occur. | [optional] |
| default_allow_maintainer_edit | bool | set to `true` to allow edits from maintainers by default | [optional] |
| default_branch | str | sets the default branch for this repository. | [optional] |
| default_delete_branch_after_merge | bool | set to `true` to delete pr branch after merge by default | [optional] |
| default_merge_style | str | set to a merge style to be used by this repository: "merge", "rebase", "rebase-merge", "squash", or "fast-forward-only". | [optional] |
| description | str | a short description of the repository. | [optional] |
| enable_prune | bool | enable prune - remove obsolete remote-tracking references when mirroring | [optional] |
| external_tracker | ExternalTracker | [optional] | |
| external_wiki | ExternalWiki | [optional] | |
| has_actions | bool | either `true` to enable actions unit, or `false` to disable them. | [optional] |
| has_issues | bool | either `true` to enable issues for this repository or `false` to disable them. | [optional] |
| has_packages | bool | either `true` to enable packages unit, or `false` to disable them. | [optional] |
| has_projects | bool | either `true` to enable project unit, or `false` to disable them. | [optional] |
| has_pull_requests | bool | either `true` to allow pull requests, or `false` to prevent pull request. | [optional] |
| has_releases | bool | either `true` to enable releases unit, or `false` to disable them. | [optional] |
| has_wiki | bool | either `true` to enable the wiki for this repository or `false` to disable it. | [optional] |
| ignore_whitespace_conflicts | bool | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. | [optional] |
| internal_tracker | InternalTracker | [optional] | |
| mirror_interval | str | set to a string like `8h30m0s` to set the mirror interval time | [optional] |
| name | str | name of the repository | [optional] |
| private | bool | either `true` to make the repository private or `false` to make it public. Note: you will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private. | [optional] |
| projects_mode | str | `repo` to only allow repo-level projects, `owner` to only allow owner projects, `all` to allow both. | [optional] |
| template | bool | either `true` to make this repository a template or `false` to make it a normal repository | [optional] |
| website | str | a URL with more information about the repository. | [optional] |