gresb/Delete Release Candidates

Delete Release Candidates and related artefacts

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 5, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: gresb/action-delete-release-candidates@62c3e6c83cef5fa062889c36613bd0594c7531c0 # v0.13.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
release-identifierA string that will be used to identify the releases to be deleted (eg. "pr1234").yes
keep-latest-countThe number of matches releases to keep, ordered from latest to oldest.yes0
ecr-nameThe name of an ECR where to look for container images tagged with the releases we are deleting. The name is not the full URL, it is just the last bit of the URL.no
s3-bucketThe name of a S3 bucket where to look for artefacts tagged with the releases we are deleting.no
s3-object-key-prefixThe S3 object key prefix used to look for artefacts tagged with the releases we are deleting.no
github-package-nameThe name of the GitHub packages to delete.no
github-package-typeThe type of the GitHub packages to delete. See package_type under query parameters at https://docs.github.com/en/rest/packages/packages?apiVersion=2022-11-28#list-packages-for-an-organization--parametersnomaven
github-tokenThe github token used to delete the releases and tags.yes
aws-role-arnThe AWS IAM Role providing access to delete artefacts from either or both ECR and S3 Bucket.no
aws-access-key-idThe AWS access key ID providing access to delete artefacts from either or both ECR and S3 Bucket.no
aws-secret-access-keyThe AWS secret access key providing access to delete artefacts from either or both ECR and S3 Bucket.no
aws-regionThe AWS region.noeu-central-1
dry-runWhether to only print the artefacts that are matched for deletion instead of deleting them.yestrue
namedescription
releasesThe releases that were identified and deleted.