mirror of
https://github.com/go-gitea/gitea
synced 2025-02-07 18:47:01 +01:00
Backport https://github.com/go-gitea/gitea/pull/30237 to 1.22. Also includes https://github.com/go-gitea/gitea/pull/30183. Both were clean cherry-picks. Co-authored-by: Giteabot <teabot@gitea.io>