rancher/DigitalOcean Janitor

Clean-up Digital Ocean resources based on a TTL.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 13, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: rancher/digitalocean-janitor@b98e0a34c1f982f4322231077b641a6187d6dbc8 # v0.1.0

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

namedescriptionrequireddefault
regionsA comma separated list of regions to clean resources in. Use the slug (i.e. nyc1,lon1). You can use * for all regions.yes
allow-all-regionsSet to true if you want to allow cleaning resources in all regions. If true then * must be used for regions.nofalse
ttlThe duration that a resource can live for. For example, use 24h for 1 day.yes
commitShould the action just report or do the actual delete.nofalse
tokenThe Digital Ocean API token to use. It must have Write scope.yes
ignore-tagThe name of the tag that indicates a resource should not be deleted.no

no outputs