actions-marketplace-validations/Delete Older Releases
delete older releases of any repo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| keep_latest | how many latest releases to keep | yes | — |
| keep_min_download_counts | keep old releases with downloads greater than this parameter < | no | 0 |
| delete_expired_data | Delete releases older than a specified number of days | no | 0 |
| repo | repo name in the form of <owner>/<repoName> | no | — |
| delete_tags | whether to delete tags associated to older releases or not | no | — |
| delete_prerelease_only | Remove only prerelease | no | false |
| delete_tag_pattern | part of the tag name. Example, if you want to delete 0.0.1-beta and 0.0.2-beta but not 0.0.1 then set this to just "beta". If not set then it will target all releases. | no | — |
| github_rest_api_url | the URL of the GitHub Rest API to be used. This might need to be different if you are a GitHub Enterprise user. | no | api.github.com |
Outputs
no outputs