ma-vin/Packages Housekeeping Action

GitHub action to determine and delete existing versions of GitHub packages.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_rest_api_urlprotocol and host of the GitHub rest apinohttps://api.github.com
github_tokenthe access token to use for bearer authentication against GitHub rest apiyes
dry_runindicator whether to print deletion candidates only or to delete versions/packagenotrue
github_userGitHub user who is the owner of the packagesyes
package_typethe type of package. At the moment only maven is supported (In general there exists npm, maven, rubygems, docker, nuget, container)yes
package_namethe name of the package whose versions should be deletedyes
version_name_to_deletea concrete version to delete (Independent of NUMBER_MAJOR_TO_KEEP NUMBER_MINOR_TO_KEEP and NUMBER_PATCH_TO_KEEP)no
delete_snapshotsindicator whether to delete all snapshots or none (Snapshots are excluded from NUMBER_MAJOR_TO_KEEP NUMBER_MINOR_TO_KEEP and NUMBER_PATCH_TO_KEEP)nofalse
number_major_to_keeppositive number of major versions to keepno
number_minor_to_keeppositive number of minor versions to keep (within a major version)no
number_patch_to_keeppositive number of patch versions to keep (within a minor version)no
debug_logsindicator whether to log addtional logsnofalse
rest_timeoutclient timeout for rest callsno3

no outputs