From c26711d451e82152da3afdf2947ffd1136272b78 Mon Sep 17 00:00:00 2001 From: Hannah Frick Date: Mon, 9 Jan 2023 11:23:48 +0000 Subject: [PATCH] add lock bot --- .github/workflows/lock.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/lock.yaml diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml new file mode 100644 index 00000000..d55e238e --- /dev/null +++ b/.github/workflows/lock.yaml @@ -0,0 +1,30 @@ +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: '14' +# issue-exclude-labels: '' +# issue-lock-labels: 'outdated' + issue-lock-comment: > + This issue has been automatically locked. If you believe you have + found a related problem, please file a new issue (with a reprex: + ) and link to this issue. + issue-lock-reason: '' + pr-lock-inactive-days: '14' +# pr-exclude-labels: 'wip' + pr-lock-labels: '' + pr-lock-comment: > + This pull request has been automatically locked. If you believe you + have found a related problem, please file a new issue (with a reprex: + ) and link to this issue. + pr-lock-reason: '' +# process-only: 'issues'