workflows: Lock comments on old PRs (no activity in a year)

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-10-13 17:26:12 -04:00
parent 6cc104677e
commit 2bffa925c8
1 changed files with 3 additions and 2 deletions

View File

@ -326,7 +326,7 @@ jobs:
state: 'closed'
});
}
# Lock closed issues after 6 months of inactivity.
# Lock closed issues after 6 months of inactivity and PRs after 1 year.
lock:
name: Lock Closed Issues
if: github.repository == 'Klipper3d/klipper'
@ -334,6 +334,7 @@ jobs:
steps:
- uses: dessant/lock-threads@v3
with:
process-only: 'issues'
issue-inactive-days: '180'
issue-lock-reason: ''
pr-inactive-days: '365'
pr-lock-reason: ''