add close and stale issues workflow (#303)

This commit is contained in:
DrDonoso 2023-01-17 17:41:45 +01:00 коммит произвёл GitHub
Родитель 86ddeee02f
Коммит d104381f8a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 17 добавлений и 0 удалений

17
.github/workflows/stale-issues.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,17 @@
name: 'Stale and close issues'
on:
schedule:
- cron: '0 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
days-before-issue-stale: 14
days-before-issue-close: 7
days-before-pr-stale: -1
days-before-pr-close: -1