ref: https://github.com/go-gitea/gitea/pull/15219 Signed-off-by: Muthu Kumar <muthukumar@thefeathers.in>