mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 05:52:43 +00:00
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. ## ⚠️ BREAKING ⚠️ If users already use `actions.actions` in `DISABLED_REPO_UNITS` or `DEFAULT_REPO_UNITS`, it will be treated as an invalid unit key.
This commit is contained in:
parent
c2ff2a4724
commit
977ef215fa
4 changed files with 6 additions and 5 deletions
|
@ -312,7 +312,7 @@ var (
|
|||
|
||||
UnitActions = Unit{
|
||||
TypeActions,
|
||||
"actions.actions",
|
||||
"repo.actions",
|
||||
"/actions",
|
||||
"actions.unit.desc",
|
||||
7,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue