From dceacc77db4ab71ccdb3e9cb04eed561c860ed55 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 12 Jul 2021 14:37:25 +0200 Subject: [PATCH] chore: lock closed issues after 14 days (#4195) --- .github/workflows/lock-closed-issues.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000000000..1ee23d0f168206 --- /dev/null +++ b/.github/workflows/lock-closed-issues.yml @@ -0,0 +1,20 @@ +name: Lock Closed Issues + +on: + schedule: + - cron: "0 0 * * *" + +permissions: + issues: write + +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 gets locked because it has been closed for more than 14 days." + issue-lock-reason: "" + process-only: "issues"