[go: up one dir, main page]

Skip to content

Auto delete branches based on user criteria

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

We have 4389 branches in the handbook repository. 1890 (43%) are from 2018 or prior. We also have an exponential increase in branch count occurring. Data & Chart: https://docs.google.com/spreadsheets/d/1VkncjKmbwtYHt1VbG2SJ4Vc1YVOMeEwiyMHbFVGccHw/edit#gid=0

If we aren't responsible in cleaning up our branches after ourself, we run the risk of many long lived, abandoned branches that are likely to never merge, which will consume resources in perpetuity.

Proposal

TBD, but we could have a setting that lets GitLab admins automatically delete branches after a certain amount of time for a MVC. Further iterations could send notifications to the branch creator requiring an action if the branch is to be kept alive, etc.

Links / references

Edited by 🤖 GitLab Bot 🤖