Conversation
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
There was a problem hiding this comment.
Pull request overview
This PR adds an automated workflow to clean up stale and old branches in the repository to maintain repository hygiene. The workflow runs weekly on Sundays and can also be triggered manually with a dry-run option.
Changes:
- Adds a new GitHub Actions workflow file that performs three types of branch cleanup: old staging-aggregate branches (keeping only 10 most recent), merged branches (already merged into master), and stale branches (no activity for 6 months with no open PRs)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
|
On hold |
|
Aggressively remove ga and staging branches - but with careful pattern matching |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
|
✅ Staging Deployment Status This PR has been successfully deployed to staging as part of an aggregated deployment. Deployed at: 2026-02-10 19:52:25 UTC The staging site shows the combined state of all compatible open PRs. |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
|
@LukasWallrich I went deeply and also removed some branches that were mentioned in the workflows as protected like main, production , because we do not use them anyways Now Good to Go |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
✅ Spell Check PassedNo spelling issues found in this PR! 🎉 |
Description
Fixes #542
an automated workflow to keep the repository clean by removing old and stale branches.
Staging Aggregate Branches: Keeps only the latest 2 staging-aggregate-* branches.
Merged Branches: Deletes any branch that has been merged into master (excluding protected branches like staging etc.).
Stale Branches: Deletes any branch with no activity for 1 months.
Safety Check: Branches with OPEN PRs are automatically skipped, even if stale.
1. Auto-Generated Branch Cleanup
ga-data-update-*branches (keeps 1 most recent)staging-aggregate-*branches (keeps 2 most recent)dry_runoption for testing (doesn't delete, just reports)Type of Change
How Has This Been Tested?
Checklist for Developers:
Additional Notes