Add GitHub Lock closed issue action (#1633)

This commit is contained in:
Nev 2021-08-12 17:44:22 -07:00 коммит произвёл GitHub
Родитель a610015e10
Коммит 5faef7db2c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 22 добавлений и 0 удалений

22
.github/workflows/lock.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,22 @@
name: 'Lock Threads'
on:
schedule:
- cron: '0 0 * * *'
permissions:
issues: write
pull-requests: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
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.
process-only: 'issues'