From 4aa0f9e87cd7b097aeb2c077b93aec2bca5ef97d Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 16 Jul 2026 14:51:46 +0200 Subject: [PATCH] chore: add branch cleanup workflow --- .github/workflows/cleanup-branches.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/cleanup-branches.yaml diff --git a/.github/workflows/cleanup-branches.yaml b/.github/workflows/cleanup-branches.yaml new file mode 100644 index 0000000..64a8826 --- /dev/null +++ b/.github/workflows/cleanup-branches.yaml @@ -0,0 +1,17 @@ +name: Cleanup Branches + +on: + schedule: + - cron: '0 0 * * *' # Runs every day at midnight + workflow_dispatch: + +permissions: + contents: read + pull-requests: write + +jobs: + cleanup-branches: + runs-on: ubuntu-latest + steps: + - name: Stale Branches + uses: crs-k/stale-branches@e876b957ab08f0bad43c8cc271a22cdd7604bd09 # v9.0.1