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

Suggest to delete stale branches #1371

Closed
MikeMcC399 opened this issue Jun 29, 2023 · 3 comments
Closed

Suggest to delete stale branches #1371

MikeMcC399 opened this issue Jun 29, 2023 · 3 comments
Labels
E2E enhancement New feature or request triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.

Comments

@MikeMcC399
Copy link
Contributor

Stale branches in this repo should be deleted, especially

  • main which can be (and was) mistaken for an active branch.
@allexiusw
Copy link
Contributor

https://hackernoon.com/clean-stale-branches-with-github-actions Do you agree to setup a solution like that? I can work in that 👨‍💻 basically is setup a GitHub action to do it automatically. We can customize the frequency of the task to run, daily, weekly, monthly, etc and the threshold to filter the branches to be removed.

@nagash77 nagash77 added enhancement New feature or request triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. E2E labels Jul 5, 2023
@MikeMcC399
Copy link
Contributor Author

@allexiusw

Do you agree to setup a solution like that?

This would not be my decision as I am a Contributor, not a member of Cypress.io. I would be happy for a simple manual clean-up.

I would be wary of a destructive automated process relying on an external JavaScript Action. There is no inherent recycle bin to recover from errors.

@astone123
Copy link
Contributor

Deleted all stale branches - I think I agree that I'd rather not have an automatic cleanup of stale branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E enhancement New feature or request triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
Projects
None yet
Development

No branches or pull requests

4 participants