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'