How to delete old Gitea workflow runs

It is quite surprising there&rsquo;s no out-of-the-box cron job to delete workflow runs from a Gitea repository at admin level or instance-wide. I am not interested in old workflow runs (CI/CD) and want to keep my database and server lean ♻️ After checking the docs and GitHub issues and asking AI , the conclusion is there&rsquo;s only one way to do this: API calls to delete single workflows 🤷