diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 000000000000..bde4f5f8bd53 --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,20 @@ +name: "Lock threads" + +on: + schedule: + # TODO - change to "0 0 * * *" once the backlog is processed + - cron: "0 * * * *" + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + github-token: ${{ github.token }} + issue-lock-inactive-days: "30" + issue-lock-reason: "resolved" + issue-lock-comment: "" + pr-lock-inactive-days: "30" + pr-lock-reason: "resolved" + pr-lock-comment: ""