1
0
Fork 0
forked from forgejo/forgejo

Rename actions unit to repo.actions and add docs for it (#23733) (#23881)

Backport #23733 by @wolfogre

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.

Co-authored-by: Jason Song <i@wolfogre.com>
This commit is contained in:
Giteabot 2023-04-03 06:54:36 -04:00 committed by GitHub
parent 7e07f5c4dc
commit 1886bd6a01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View file

@ -312,7 +312,7 @@ var (
UnitActions = Unit{
TypeActions,
"actions.actions",
"repo.actions",
"/actions",
"actions.unit.desc",
7,