luizbon/delete-preview-packages

Delete old semver preview packages

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 15, 2021
License
Apache 2.0
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: luizbon/delete-preview-packages@7258eb900335645c21ddf10678d2fa01c1772246 # v0.2

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

namedescriptionrequireddefault
tokenToken with the necessary scopes to delete package versions. Defaults to github.token scoped to the repo running the action. To delete package versions of a package outside the repo the action is running in use a Personal Access Token stored as a secret. no${{ github.token }}
ownerOwner of the repo containing the package version to delete. Defaults to the owner of the repo running the action. no
repoRepo containing the package version to delete. Defaults to the repo running the action. no
packagesComma separated string of packages to delete.yes
package_typepackage type ('npm', 'maven', 'rubygems', 'nuget', 'docker', 'container'), defaults to 'nuget'nonuget
dry_runturn this on will only list packagesnofalse

no outputs