aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-10-13 17:26:12 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-10-13 17:27:03 -0400
commit2bffa925c8adb2935008fa29dd0c7d17a6176919 (patch)
tree15854bd48f70c8cbf72299de80bdbb050857e710 /.github/workflows
parent6cc104677eacd41ada1518f538c96f903874c0b7 (diff)
downloadkutter-2bffa925c8adb2935008fa29dd0c7d17a6176919.tar.gz
kutter-2bffa925c8adb2935008fa29dd0c7d17a6176919.tar.xz
kutter-2bffa925c8adb2935008fa29dd0c7d17a6176919.zip
workflows: Lock comments on old PRs (no activity in a year)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/stale-issue-bot.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/stale-issue-bot.yaml b/.github/workflows/stale-issue-bot.yaml
index afc4bca3..3720e72c 100644
--- a/.github/workflows/stale-issue-bot.yaml
+++ b/.github/workflows/stale-issue-bot.yaml
@@ -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: ''