Skip to content

Conversation

@richarddushime
Copy link
Contributor

Description

Fixes #542
an automated workflow to keep the repository clean by removing old and stale branches.

Staging Aggregate Branches: Keeps only the latest 10 staging-aggregate-* branches.
Merged Branches: Deletes any branch that has been merged into master (excluding protected branches main, staging etc.).
Stale Branches: Deletes any branch with no activity for 6 months.
Safety Check: Branches with OPEN PRs are automatically skipped, even if stale.

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Tested Locally
  • Manual review / previewed on staging.forrt.org content/webpage changes
  • Not Tested yet

Checklist for Developers:

  • I have attempted to stay aligned to related code in this repository rather than reinventing the wheel.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.

Additional Notes

@github-actions github-actions bot added the cicd Relevant to GitHub workflows label Dec 22, 2025
@github-actions
Copy link
Contributor

👍 All image files/references (if any) are in webp format, in line with our policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cicd Relevant to GitHub workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up branches

2 participants