Automatically delete head branches via branch protection rule #5195
HonkingGoose
started this conversation in
Ideas
Replies: 1 comment
-
|
Didn't know about this option, asked to get it enabled but Joel is in holiday so we may have to wait. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This repository has a lot of stale branches, most of which have a PR that's been merged into production. So you don't need the branch anymore.
I propose you enable the repository setting: Automatically delete head branches:
https://docs.github.com/en/github/administering-a-repository/configuring-pull-request-merges/managing-the-automatic-deletion-of-branches
Cleanup of the existing stale branches will need to be done manually.
Beta Was this translation helpful? Give feedback.
All reactions