From f3a7782e77a86dffb702e66ee9e1257e4226c8f5 Mon Sep 17 00:00:00 2001 From: Mark Prins <1165786+mprins@users.noreply.github.com> Date: Sun, 19 Nov 2023 15:19:55 +0100 Subject: [PATCH] Update maintenance.yml --- .github/workflows/maintenance.yml | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index ee09784..fd63279 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -6,25 +6,9 @@ on: - cron: '13 3 * * 6' jobs: - lock: - runs-on: ubuntu-latest - name: 'Lock stale issues and PRs' - steps: - - uses: dessant/lock-threads@v4 - with: - github-token: ${{ github.token }} - issue-inactive-days: '90' - exclude-any-issue-labels: 'enhancement, pull request accepted' - pr-inactive-days: '60' - - workflows: - runs-on: ubuntu-latest - name: Cleanup old workflow runs - steps: - - name: Delete workflow runs - uses: Mattraks/delete-workflow-runs@v2 - with: - token: ${{ github.token }} - repository: ${{ github.repository }} - retain_days: 45 - keep_minimum_runs: 2 + action: + name: 'Repository Maintenance' + uses: mprins/.github/.github/workflows/maintenance.yml@main + with: + issue-inactive-days: '90' + pr-inactive-days: '60'