actions-marketplace-validations/Git Sweep Merged and Stale

Py 3.6+. Deletes old branches older than X days and merged branches. Based on `git-sweep`.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 5, 2021
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/rod-dot-codes_git-sweep-merged-and-stale@9df1cdd6244f70e74986fc3f18386f1f5a87eb87 # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
warningYou require Python 3.6+ to run this. See example https://github.com/rodvdka/git-sweep-merged-and-stale/blob/master/preview.ymlyes""
delete_stale_after_daysAfter how many days should a branch be stale `X`?yes365
actionType of action? ("preview" (dry-run) or "cleanup")yespreview
skipComma seperated string list of branches to ignorenomain,develop,master
which_master_mainThe name of what you consider the main or master branchnomaster

no outputs