Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically delete merged branches #156

Closed
kevgo opened this issue May 21, 2019 · 3 comments
Closed

Automatically delete merged branches #156

kevgo opened this issue May 21, 2019 · 3 comments

Comments

@kevgo
Copy link
Contributor

kevgo commented May 21, 2019

What do you think about setting up delete merged branches bot to automatically delete feature branches once they are merged? This prevents building up old branches. This repo for example has a few old branches:

image

@aeneasr
Copy link
Member

aeneasr commented May 22, 2019

I think for the docs this could make sense, for other repos it's sometimes necessary to keep old branches around in case of e.g. diverging versions where some changes are merged into master.

@aeneasr
Copy link
Member

aeneasr commented May 22, 2019

Does this delete only branches that are merged into master, or generally merged branches? If it's the latter I wouldn't want to install that as that might mess with stuff (especially when using e.g. squash merge)

@kevgo
Copy link
Contributor Author

kevgo commented May 22, 2019

Right now the only configuration is a blacklist of branches that should never get deleted. I have never run into issues with this but don't know your setup and workflows, and don't want to mess anything up. So, sounds like a no-go for now. I'll close this ticket. Thanks!

@kevgo kevgo closed this as completed May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants