Cleanup of old actions

Is there any way to cleanup action runs?
I only found the “ARTIFACT_RETENTION_DAYS” setting, but I would like to delete old runs from the database and the “actions_log”.
Before we started using the actions, the gitea.db was ~15MB and is now > 1.5GB. I could just delete the actions_log folder but I don’t know if there might be any side effects