From f1abb46bc6bb66591573754f17a30b535ae284b6 Mon Sep 17 00:00:00 2001 From: Carlos Cuesta Date: Mon, 30 Nov 2020 09:17:02 +0100 Subject: [PATCH] :wrench: Introduce github/lock action flow (#634) --- .github/workflows/lock.yml | 13 +++++++++++++ 1 file changed, 13 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 0000000..8ad914e --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,13 @@ +name: Lock Issues and PRs +on: + schedule: + - cron: '0 * * * *' +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + github-token: ${{ github.token }} + issue-lock-inactive-days: '30' + pr-lock-inactive-days: '30'