Issue filed to gitea issue tracker: https://github.com/go-gitea/gitea/issues/8812.
This is fixed, at least for the Pix-Art-Messenger repository. I deployed the fix on codeberg.org.
I will delete your failed attempt
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?