From fb800582f676d815badfeb1e13e731d0f93df9c4 Mon Sep 17 00:00:00 2001 From: Ryan Heise Date: Sun, 31 Oct 2021 13:41:10 +1100 Subject: [PATCH] Auto-lock inactive, closed issues. --- .github/workflows/lock.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/lock.yml diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 000000000..a22ccd37e --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,27 @@ +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@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-lock-inactive-days: '14' + issue-lock-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, or use + StackOverflow if you need help with just_audio.