mirror of
https://github.com/go-gitea/gitea
synced 2025-01-13 23:17:41 +01:00
1ec622db24
Backport #28422 by wxiaoguang 1. Do not sort the "checks" slice again and again when "Register", it just wastes CPU when the Gitea instance runs 2. If a check doesn't exist, tell the end user 3. Add some tests Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>