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

Remove Stale Branches #1174

Open
MichaelCordingley opened this issue Aug 15, 2024 · 4 comments
Open

Remove Stale Branches #1174

MichaelCordingley opened this issue Aug 15, 2024 · 4 comments
Labels
feature request New feature or request to improve the current logic

Comments

@MichaelCordingley
Copy link

Description:
Automatically remove branches that are not associated with an open issue and are more than X days stale.

Previously described in #620, which ironically closed due to staleness.

Justification:
Branches are another form of cruft that builds up and becomes stale.

Are you willing to submit a PR?
I'm probably not the best person to do so, else I would

@MichaelCordingley MichaelCordingley added feature request New feature or request to improve the current logic needs triage labels Aug 15, 2024
@priyagupta108
Copy link

Hello @MichaelCordingley,
Thank you for the feature request. We will take a look and come back to you with the details!

@MichaelCordingley
Copy link
Author

Thank you!

@nemchik
Copy link

nemchik commented Aug 20, 2024

Adding to this; I'd like to be able to delete stale branches that have already been merged. There is already an option to Automatically delete head branches but it would be nice to only perform this once a branch is considered stale (and has been merged).

Edit: To be clear, I would NOT want to automatically delete unmerged stale branches. I only want to delete stale branches that are associated with a pull request that has been merged.

@MichaelCordingley
Copy link
Author

MichaelCordingley commented Sep 19, 2024

@priyagupta108 Checking in. Have you had a chance to take a look, yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants