Fix #30263  Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit eb24d973b036e4dddf505d8c12e905ecb1a688f9)
41cabe6c