regex support for branchcleaner prow plugin #31744
Labels
area/prow
Issues or PRs related to prow
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
sig/testing
Categorizes an issue or PR as relevant to SIG Testing.
What would you like to be added:
Support for regex for branches in allow map
Why is this needed:
The
branchcleaner
plugin automatically deletes source branches for merged PRs between two branches on the same repository. Branches in the configured allow map would be exempt from branch garbage collection even if the branches are already merged into the target branch. But right now we have to explicitly list the exclusion branches. Having regex support will enable to exclude future branches as well, if it follows the regex pattern allowing for more flexibility.The text was updated successfully, but these errors were encountered: