summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-12 19:55:53 +0100
committerGitHub <noreply@github.com>2022-01-12 19:55:53 +0100
commit408da43657f69dbe74ce66d82abee187a212e358 (patch)
tree3ab06b3973b52c1cb07a0fcaf43abb708be80df4 /.github
parented04ed57450b322e58ca24f338ae7c589a74c036 (diff)
github: Add lock-threads step
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/stale.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 134ff147c..da241c78c 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -1,4 +1,4 @@
-name: 'Close stale issues and PRs'
+name: 'Close stale and lock closed issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
@@ -6,6 +6,18 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
+ - uses: dessant/lock-threads@08e671be8ac8944d0e132aa71d0ae8ccfb347675
+ with:
+ issue-inactive-days: 7
+ add-issue-labels: 'Outdated'
+ issue-comment: >
+ This issue has been automatically locked since there
+ has not been any recent activity after it was closed.
+ Please open a new issue for related bugs.
+ pr-comment: >
+ This pull request has been automatically locked since there
+ has not been any recent activity after it was closed.
+ Please open a new issue for related bugs.
- uses: actions/stale@04a1828bc18ada028d85a0252a47cd2963a91abe
with:
days-before-issue-stale: 600