There is now a GitHub Actions Marketplace action to delete workflow runs in a repository.
This is configurable and executable as either a manual or scheduled job.
See https://github.com/marketplace/actions/delete-workflow-runs