The Gitea package cleanup rules only seem to be setup to delete old packages/versions. However, they do not seem to provide a mechanism for deleting older artifacts from SNAPSHOT builds within a versions.
We currently have a master branch where an artifact with version P.V-SNAPSHOT has almost 800 files (each build creates a JAR, JAVADOC, SOURCE, CLASSES) - each with timestamps in the name. But it seems we cannot create a rule to keep at most 3 snapshot builds, or only keep the latest, or delete all older 30 days - those rules only apply to packages and versions in their entirety.