From 7971715bb40a41342275d168b471e33882f49150 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 22 Nov 2021 19:06:03 -0500 Subject: [PATCH] workflows: Lock issues that have been closed for 6+ months Add a new automation to lock closed issues with no recent updates. This is intended to reduce updates to old tickets that few people will see. Signed-off-by: Kevin O'Connor --- .github/workflows/stale-issue-bot.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/stale-issue-bot.yaml b/.github/workflows/stale-issue-bot.yaml index 990191b6..57dba3cc 100644 --- a/.github/workflows/stale-issue-bot.yaml +++ b/.github/workflows/stale-issue-bot.yaml @@ -194,3 +194,14 @@ jobs: state: 'closed' }); } + # Lock closed issues after 6 months of inactivity. + lock: + name: Lock Closed Issues + if: github.repository == 'Klipper3d/klipper' + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v3 + with: + process-only: 'issues' + issue-inactive-days: '180' + issue-lock-reason: ''