From 6adcfe56d50b0c2283b4a77a93fb47f4a944cee9 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Tue, 19 Jul 2022 14:15:01 -0700 Subject: [PATCH] Lock closed issues --- .github/workflows/lock-closed-issues.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/lock-closed-issues.yml diff --git a/.github/workflows/lock-closed-issues.yml b/.github/workflows/lock-closed-issues.yml new file mode 100644 index 00000000000..a1488464bb1 --- /dev/null +++ b/.github/workflows/lock-closed-issues.yml @@ -0,0 +1,18 @@ +name: Lock Closed Issues + +on: + schedule: + - cron: 0 0 * * * + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v3 + with: + github-token: '${{ github.token }}' + issue-inactive-days: 30 + issue-comment: > + This thread has been automatically locked since there has not been + any recent activity after it was closed. Please open a new issue for + related bugs.