CI: Add cleanup branches cronjob (with dry-run: true) (#111428)

* CI: Add cleanup branches cronjob (with dry-run: true)

* update codeowners
This commit is contained in:
Kevin Minehart
2025-09-24 15:53:37 -05:00
committed by GitHub
parent 49c4dcfd13
commit 020b87e91b
2 changed files with 19 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: Clean up orphaned branches
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * 1"
jobs:
cleanup-branches:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- uses: actions/checkout@v5
- uses: grafana/shared-workflows/actions/cleanup-branches@cleanup-branches/v1.0.0
with:
dry-run: true
max-date: "1 month ago"