* stale

* Update stale.yml
This commit is contained in:
Timothy Mothra 2021-09-14 13:30:08 -07:00 коммит произвёл GitHub
Родитель dee5ce542a
Коммит 9137120a09
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 27 добавлений и 0 удалений

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

@ -0,0 +1,27 @@
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
# Github Actions Stale: https://github.com/actions/stale
# Description: The purpose of this action is to close stale issues and PRs.
name: Stale Issues and PRs
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # End of every day
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4.0.0
id: stale
with:
stale-issue-message: 'This issue is stale because it has been open 300 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This PR is stale because it has been open 300 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
operations-per-run: 200
days-before-stale: 300
days-before-close: 7
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-all-milestones: true
- name: Print outputs
run: echo ${{ join(steps.stale.outputs.*, ',') }}