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:
Jason Song 2023-04-03 12:05:37 +08:00 committed by GitHub
parent c2ff2a4724
commit 977ef215fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View file

@ -1057,6 +1057,7 @@ issues = Issues
pulls = Pull Requests
project_board = Projects
packages = Packages
actions = Actions
labels = Labels
org_labels_desc = Organization level labels that can be used with <strong>all repositories</strong> under this organization
org_labels_desc_manage = manage