riceben/Branch cleaner
Automate repo branches cleaner
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 23, 2026
- License
- MIT
Pinned Snippet
uses: riceben/branch-cleaner-action@d8c92f27b78f96f73723f5b9e5bb908aa43e7998 # v1.1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| secToken | Github secret token to access the repo | yes | ${{ github.token }} |
| protect-branch-name | Specify branches cannot delete. No delete protected branch. | no | main |
| expiry-period-in-days | Define the time period as expired. | yes | 90 |
| is-force-delete | Delete the branch when it is merged into default branch. | yes | true |
Outputs
no outputs