actions-marketplace-validations/Rm Release GitHub Action
A GitHub action to remove releases with their tags based on a regex pattern.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | Github token | yes | — |
| RELEASE_PATTERN | Regex pattern to match releases. | yes | — |
| RELEASES_TO_KEEP | Number of most recent releases to keep after filtering by RELEASE_PATTERN. Defaults to 0 (delete all matching releases). | no | 0 |
| EXCLUDE_PATTERN | Regex pattern to exclude releases from deletion. | no | — |
| DAYS_TO_KEEP | Number of days to keep releases. Releases older than this will be deleted. Defaults to 0 (delete all matching releases regardless of age). | no | 0 |
| DRY_RUN | If true, the action will only list the releases to be deleted without actually deleting them. | no | false |
| DELETE_DRAFT_RELEASES_ONLY | If true, only draft releases will be considered for deletion. | no | false |
| DELETE_PRERELEASES_ONLY | If true, only prereleases will be considered for deletion. | no | false |
| TARGET_BRANCH_PATTERN | Regex pattern to match the target branch of a release's commit. Only releases whose associated commit is on a matching branch will be considered for deletion. | no | "" |
Outputs
no outputs