From 9d6288638f7711808fb2402d7694888962e7933f Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 14 Jun 2020 11:50:20 +0530 Subject: [PATCH] Add auto-lock workflow --- .github/workflows/lock.yml | 17 +++++++++++++++++ README.md | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/lock.yml diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 00000000..b220cfba --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,17 @@ +name: 'Lock threads' + +on: + schedule: + - cron: '0 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: '' + pr-lock-inactive-days: '30' + pr-lock-reason: '' diff --git a/README.md b/README.md index 3df18c81..f3728d8a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ - +