feat: add option for repo default units and branch
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1a37b5b952
commit
0220f210c5
|
@ -112,6 +112,15 @@ gitea_repository_push_create_user_enabled: False
|
|||
gitea_repository_push_create_org_enabled: False
|
||||
gitea_repository_auto_watch_on_creation: False
|
||||
gitea_repository_auto_watch_on_change: False
|
||||
gitea_repository_default_repo_units:
|
||||
- repo.code
|
||||
- repo.releases
|
||||
- repo.issues
|
||||
- repo.pulls
|
||||
- repo.wiki
|
||||
- repo.projects
|
||||
gitea_repository_default_branch: main
|
||||
|
||||
# @var gitea_repository_editor_line_wrap_ext:description: >
|
||||
# Comma-separated list of file extensions for which lines should be wrapped in the CodeMirror editor.
|
||||
# To line wrap files without an extension, just put a comma.
|
||||
|
|
|
@ -18,6 +18,8 @@ ACCESS_CONTROL_ALLOW_ORIGIN = {{ gitea_repository_access_control_allow_origin }}
|
|||
USE_COMPAT_SSH_URI = {{ gitea_repository_use_compat_ssh_uri | bool | lower }}
|
||||
ENABLE_PUSH_CREATE_USER = {{ gitea_repository_push_create_user_enabled | bool | lower }}
|
||||
ENABLE_PUSH_CREATE_ORG = {{ gitea_repository_push_create_org_enabled | bool | lower }}
|
||||
DEFAULT_REPO_UNITS = {{ gitea_repository_default_repo_units | join(",") }}
|
||||
DEFAULT_BRANCH = {{ gitea_repository_default_branch }}
|
||||
|
||||
[repository.editor]
|
||||
LINE_WRAP_EXTENSIONS = {{ gitea_repository_editor_line_wrap_ext | join(",") }}
|
||||
|
|
Loading…
Reference in New Issue