Try to fix #29080 (cherry picked from commit f290c24d286b996ac6b512f49a30aa5aef1a2dbe)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>