From dd115e27416e0d1bc7b99a846c594127f2a028d5 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 16 Jul 2026 14:42:47 +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..4d9f871 --- /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 \ No newline at end of file