[internal] switch to using workflows to lock old issues

* GitHub's Lock bot has been replaced with a new lock action -> Use this.
This commit is contained in:
Pete Batard 2021-05-26 12:43:38 +01:00
parent 3bb83709da
commit 3083324a0e
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
4 changed files with 25 additions and 44 deletions

19
.github/workflows/lock.yml vendored Normal file
View file

@ -0,0 +1,19 @@
# Configuration for https://github.com/dessant/lock-threads
name: 'Lock Threads'
on:
schedule:
- cron: '0 0 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '90'
issue-lock-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue
if you think you have a related problem or query.