add action to close stale issues

Этот коммит содержится в:
Vlad Pronsky 2024-02-10 19:45:50 +02:00
родитель 277ebd1649
Коммит d579c5fe9e
2 изменённых файлов: 20 добавлений и 2 удалений

2
.github/workflows/publish.yml поставляемый
Просмотреть файл

@ -1,9 +1,9 @@
name: publish to pypi name: publish to pypi
on: on:
workflow_dispatch:
release: release:
types: [created] types: [created]
workflow_dispatch:
jobs: jobs:
publish: publish:

18
.github/workflows/stale-issues.yml поставляемый Обычный файл
Просмотреть файл

@ -0,0 +1,18 @@
name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
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 5 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
days-before-stale: 30
days-before-close: 5
exempt-all-pr-milestones: true
exempt-issue-labels: 'todo'