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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 5, 2021
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/rod-dot-codes_git-sweep-merged-and-stale@9df1cdd6244f70e74986fc3f18386f1f5a87eb87 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| warning | You require Python 3.6+ to run this. See example https://github.com/rodvdka/git-sweep-merged-and-stale/blob/master/preview.yml | yes | "" |
| delete_stale_after_days | After how many days should a branch be stale `X`? | yes | 365 |
| action | Type of action? ("preview" (dry-run) or "cleanup") | yes | preview |
| skip | Comma seperated string list of branches to ignore | no | main,develop,master |
| which_master_main | The name of what you consider the main or master branch | no | master |
Outputs
no outputs