ma-vin/Packages Housekeeping Action
GitHub action to determine and delete existing versions of GitHub packages.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_rest_api_url | protocol and host of the GitHub rest api | no | https://api.github.com |
| github_token | the access token to use for bearer authentication against GitHub rest api | yes | — |
| dry_run | indicator whether to print deletion candidates only or to delete versions/package | no | true |
| github_user | GitHub user who is the owner of the packages | yes | — |
| package_type | the type of package. At the moment only maven is supported (In general there exists npm, maven, rubygems, docker, nuget, container) | yes | — |
| package_name | the name of the package whose versions should be deleted | yes | — |
| version_name_to_delete | a concrete version to delete (Independent of NUMBER_MAJOR_TO_KEEP NUMBER_MINOR_TO_KEEP and NUMBER_PATCH_TO_KEEP) | no | — |
| delete_snapshots | indicator whether to delete all snapshots or none (Snapshots are excluded from NUMBER_MAJOR_TO_KEEP NUMBER_MINOR_TO_KEEP and NUMBER_PATCH_TO_KEEP) | no | false |
| number_major_to_keep | positive number of major versions to keep | no | — |
| number_minor_to_keep | positive number of minor versions to keep (within a major version) | no | — |
| number_patch_to_keep | positive number of patch versions to keep (within a minor version) | no | — |
| debug_logs | indicator whether to log addtional logs | no | false |
| rest_timeout | client timeout for rest calls | no | 3 |
Outputs
no outputs