tiendanube/Stale Branches
Finds and deletes stale branches
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | The token to be used to auth with GitHubs API. Can be passed in using `{{ secrets.GITHUB_TOKEN }}` | no | ${{ github.token }} |
| days-before-stale | Number of days a branch has been inactive before it is considered stale. Default: 120. | no | 120 |
| days-before-delete | Number of days a branch has been inactive before it is deleted. Default: 180. | no | 180 |
| comment-updates | If this is enabled, a comment with updated information will be added to existing issues each workflow run. | no | false |
| max-issues | This dictates the number of Stale issues that can exist. It also limits the number of branches that can be deleted per run. | no | 20 |
| tag-committer | When an issue is opened, this will tag the stale branchs last committer in the comments. | no | false |
| stale-branch-label | Label to be applied to issues created for stale branches. | no | stale branch 🗑️ |
| compare-branches | Compares current branch with default branch. Options: off | info | save | no | off |
Outputs
| name | description |
|---|---|
| deleted-branches | List of all deleted branches. |
| stale-branches | List of all stale branches. |