actions-marketplace-validations/Delete abandoned branches

Deletes old branches from your repo as long as they aren't part of an open pull request, the default branch, or protected.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
ignore_branchesComma-separated list of branches to ignore and never delete. You don't need to add your protected branches here.no""
last_commit_age_daysHow old in days must be the last commit into the branch for the branch to be deleted.no60
allowed_prefixesComma-separated list of prefixes a branch must match to be deleted.no""
dry_runWhether we're actually deleting branches at all. Defaults to 'yes'. Possible values: yes, no (case sensitive)yes
github_tokenThe github token to use on requests to the github apiyes
github_base_urlThe API base url to be used in requests to GitHub Enterprisenohttps://api.github.com
namedescription
deleted_branchesBranches that have been deleted, if any