diff options
author | Jason Song <i@wolfogre.com> | 2023-04-03 12:05:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 00:05:37 -0400 |
commit | 977ef215fab05c79bd3fcd9bf3679976a0210015 (patch) | |
tree | fffbef412151ab838fea9fc71e97d960b439f3c5 /custom | |
parent | c2ff2a472435c9735b8fef78c3797e54b99c73ad (diff) | |
download | gitea-977ef215fab05c79bd3fcd9bf3679976a0210015.tar.gz gitea-977ef215fab05c79bd3fcd9bf3679976a0210015.zip |
Rename actions unit to `repo.actions` and add docs for it (#23733)
I neglected that the `NameKey` of `Unit` is not only for translation,
but also configuration. So it should be `repo.actions` to maintain
consistency.
## :warning: BREAKING :warning:
If users already use `actions.actions` in `DISABLED_REPO_UNITS` or
`DEFAULT_REPO_UNITS`, it will be treated as an invalid unit key.
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 2a840d5ef1..0543c85d50 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -947,10 +947,10 @@ ROUTER = console ;USE_COMPAT_SSH_URI = false ;; ;; Close issues as long as a commit on any branch marks it as fixed -;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages +;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages, repo.actions. ;DISABLED_REPO_UNITS = ;; -;; Comma separated list of default new repo units. Allowed values: repo.code, repo.releases, repo.issues, repo.pulls, repo.wiki, repo.projects, repo.packages. +;; Comma separated list of default new repo units. Allowed values: repo.code, repo.releases, repo.issues, repo.pulls, repo.wiki, repo.projects, repo.packages, repo.actions. ;; Note: Code and Releases can currently not be deactivated. If you specify default repo units you should still list them for future compatibility. ;; External wiki and issue tracker can't be enabled by default as it requires additional settings. ;; Disabled repo units will not be added to new repositories regardless if it is in the default list. |