delete-old-branches-action icon indicating copy to clipboard operation
delete-old-branches-action copied to clipboard

Feature request

Open katyapavlenko opened this issue 4 years ago • 1 comments

Hi! Please implement flag that would allow to delete only branches that are merged to master (or other branch name)

katyapavlenko avatar Feb 01 '21 08:02 katyapavlenko

Hi @katyapavlenko ,

I think this has already been implemented. The inputs support keeping branches intact via default_branches and extra_protected_branch_regex, and you can exclude all branches which have open PR-s using exclude_open_pr_branches (which has a default value of true).

The only issue I can see is someone having a branch which hasn't been updated for a longer time and doesn't have a PR, which will be dropped if the newest commit's age reaches the threshold.

Szasza avatar Oct 10 '22 00:10 Szasza