{"repo":"crs-k/stale-branches","free":true,"listed":false,"github":"https://github.com/crs-k/stale-branches","clone":"git clone https://github.com/crs-k/stale-branches.git","description":"Finds and deletes stale branches","language":"TypeScript","stars":72,"topics":["github-actions","repository-management"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Stale Branches Table of Contents - Usage - Pre-requisites - Inputs - Token Permissions - Outputs - Example workflow - With defaults - With Inputs - Ignoring Commits - Using with Repository Rulesets - Troubleshooting - Contributing Finds and deletes stale branches. By default it aligns with this definition, but can be configured for other use cases. When a branch has been inactive for more than the days-before-stale input, it is considered stale. The branch will be deleted once it has been inactive longer than days-before-delete . - By default, a stale branch is defined as a branch that: - has had no commits in the last 120 days. - has no protection rules. - is not the default branch of the repository. - See inputs for more info. - See example workflow. Usage Pre-requisites Create a workflow .yml file in your repository's .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file. Inputs Inputs are defined in action.yml . None are required.: Name Description Default ------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/crs-k","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/crs-k/stale-branches/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}