Mark and close stale issues and PRs

This commit is contained in:
Andrew Arnott 2020-03-29 14:43:20 -06:00 коммит произвёл GitHub
Родитель 957ca92fa1
Коммит 38f095bf0d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 23 добавлений и 0 удалений

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

@ -0,0 +1,23 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 90
days-before-close: 5
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-issue-label: 'no-issue-activity'
exempt-issue-label: 'awaiting-approval'
stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-label: 'no-pr-activity'
exempt-pr-label: 'awaiting-approval'