新增:创建项目建立与gitea的关联关系

This commit is contained in:
2024-07-03 10:54:33 +08:00
parent a30a5b09a0
commit 551f9cbbad
4 changed files with 13 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ class Projects::UpdateForm < BaseForm
check_project_language(project_language_id)
check_repository_name(user_id, identifier) unless identifier.blank? || identifier == project_identifier
check_gitea_repository_name(user_id, identifier) unless identifier.blank? || identifier == project_identifier
check_project_name(user_id, name) unless name.blank? || name == project_name
end