From 05324d71293ea40355c262ab28c8bc82f4f5a4fb Mon Sep 17 00:00:00 2001 From: Armin Broubakarian Date: Sun, 10 Nov 2024 23:16:31 -0600 Subject: [PATCH] chore: add repo pruner --- .github/workflows/repo-pruner.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/repo-pruner.yml diff --git a/.github/workflows/repo-pruner.yml b/.github/workflows/repo-pruner.yml new file mode 100644 index 0000000..11b94bf --- /dev/null +++ b/.github/workflows/repo-pruner.yml @@ -0,0 +1,17 @@ +name: 'Run Repo Pruner' +on: + schedule: + - cron: '0 0 * * 0' # Runs weekly + workflow_dispatch: + +jobs: + repo-pruner: + runs-on: ubuntu-latest + steps: + - name: Run Repo Pruner + uses: arminbro/repo-pruner@v1.0.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + inactive_days: 30 + base_branch: master