Oh it looks like this is a known bug in the version of gitea I’m using.
Please upgrade to the latest version. It’s v1.21.10 now.