Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 605f3e8

Browse files
authored
Update maintenance.yml
1 parent a556c02 commit 605f3e8

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

.github/workflows/maintenance.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,9 @@ on:
66
- cron: '17 3 * * 6'
77

88
jobs:
9-
lock:
10-
runs-on: ubuntu-latest
11-
name: 'Lock stale issues and PRs'
12-
steps:
13-
- uses: dessant/lock-threads@v4
14-
with:
15-
github-token: ${{ github.token }}
16-
issue-inactive-days: '90'
17-
exclude-any-issue-labels: 'upstream, help-wanted'
18-
pr-inactive-days: '60'
19-
20-
workflows:
21-
runs-on: ubuntu-latest
22-
name: 'Cleanup old workflow runs'
23-
steps:
24-
- name: Delete workflow runs
25-
uses: Mattraks/delete-workflow-runs@v2
26-
with:
27-
token: ${{ github.token }}
28-
repository: ${{ github.repository }}
29-
retain_days: 45
30-
keep_minimum_runs: 2
9+
action:
10+
name: 'Repository Maintenance'
11+
uses: mprins/.github/.github/workflows/maintenance.yml@main
12+
with:
13+
issue-inactive-days: '90'
14+
pr-inactive-days: '60'

0 commit comments

Comments
 (0)