feat: Add delete-branch option to delete PR branches after closing#190
feat: Add delete-branch option to delete PR branches after closing#190hross merged 2 commits intoactions:mainfrom
delete-branch option to delete PR branches after closing#190Conversation
|
This is an interesting option and I really appreciate your contribution. Deleting a branch is a somewhat destructive operation (it can be restored but not obviously with the click of a button) so I'm hesitant to include this in the stale bot. |
|
@hross Happy for you to close this if you decide against including it. My understanding was you can restore a branch using the GitHub UI. Edit: I just tested this in the example PR by restoring the branch using the "Restore branch" button and reopening the PR alexbrazier#1 |
|
I would also like this feature. We make a lot of PRs and many of which go stale so this would help us keep the number of useless branches down and our repo more efficient. |


Closes #57
Testing
delete-branchenabled Delete branch test to verify action alexbrazier/stale#2