Require at least one unit to be enabled (#24189)
Don't remember why the previous decision that `Code` and `Release` are non-disable units globally. Since now every unit include `Code` could be disabled, maybe we should have a new rule that the repo should have at least one unit. So any unit could be disabled. Fixes #20960 Fixes #7525 --------- Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
parent
0ebabf3c6b
commit
e5a8ebc0ed
9 changed files with 109 additions and 75 deletions
|
@ -2004,6 +2004,7 @@ settings.delete_notices_2 = - This operation will permanently delete the <strong
|
|||
settings.delete_notices_fork_1 = - Forks of this repository will become independent after deletion.
|
||||
settings.deletion_success = The repository has been deleted.
|
||||
settings.update_settings_success = The repository settings have been updated.
|
||||
settings.update_settings_no_unit = The repository should allow at least some sort of interaction.
|
||||
settings.confirm_delete = Delete Repository
|
||||
settings.add_collaborator = Add Collaborator
|
||||
settings.add_collaborator_success = The collaborator has been added.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue