Skip to content

Conversation

ricky-undeadcoders
Copy link
Contributor

@ricky-undeadcoders ricky-undeadcoders commented Oct 17, 2025

This pull request adds a new GitHub Actions workflow to automate the cleanup of Git branches on a scheduled basis. The workflow is configured to run weekly, and will expire any branches older than 3 months.

Automation and workflow setup:

  • Added .github/workflows/cleanup-branches.yml to schedule a weekly branch cleanup job using the grafana/shared-workflows/actions/cleanup-branches action.
  • Configured the workflow to run on ubuntu-arm64-small and to use specific versions of the actions/checkout and cleanup-branches actions for stability and reproducibility.

A sample dry run from Oct 16 shows an approximation of the branches that will be purged when this action is run: https://github.com/grafana/shared-workflows/actions/runs/18574509283/job/52956480404#step:4:384

Part of https://github.com/grafana/deployment_tools/issues/278935

@ricky-undeadcoders ricky-undeadcoders requested a review from a team as a code owner October 17, 2025 18:35

This comment has been minimized.

This comment has been minimized.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant