From a389a43c3a27b35529e10961140121e92004b093 Mon Sep 17 00:00:00 2001 From: Mario Rosa Date: Thu, 21 Jul 2022 17:19:03 -0400 Subject: [PATCH] Create lock threads workflow --- .github/workflows/lockThreads.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/lockThreads.yml diff --git a/.github/workflows/lockThreads.yml b/.github/workflows/lockThreads.yml new file mode 100644 index 0000000..2767a3c --- /dev/null +++ b/.github/workflows/lockThreads.yml @@ -0,0 +1,30 @@ +name: 'Lock Threads' + +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + +concurrency: + group: lock + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v3 + with: + issue-inactive-days: '30' + 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-inactive-days: '30' + 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.