diff options
author | Dave Davenport <qball@gmpclient.org> | 2020-10-21 19:38:27 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2020-10-21 19:38:27 +0200 |
commit | 9eb8c60bc58813c1ce45873f4c7d4b3de4a17cd8 (patch) | |
tree | 630fd74ee698e0bfa41bac2b3cc9f301f5a215e8 | |
parent | 4878c5bd13402438cd856319b20556f7f00404f0 (diff) |
[Lock] Add auto lock of closed issues.
-rw-r--r-- | .github/workflows/lock.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 00000000..0cad55e3 --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,34 @@ +name: 'Lock threads' + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-lock-inactive-days: '31' + issue-exclude-created-before: '' + issue-exclude-labels: '' + issue-lock-labels: '' + issue-lock-comment: '' + issue-lock-reason: 'resolved' + issue-lock-comment: > + This issue has been automatically locked since there + has not been any recent activity after it was closed. + Please open a new issue for related bugs. + pr-lock-inactive-days: '31' + pr-exclude-created-before: '' + pr-exclude-labels: '' + pr-lock-labels: '' + pr-lock-comment: '' + pr-lock-reason: 'resolved' + pr-lock-comment: > + This pull request has been automatically locked since there + has not been any recent activity after it was closed. + Please open a new issue for related bugs. + process-only: '' |