chore: use other stale integration

This commit is contained in:
svenadlung 2022-08-01 16:26:15 +02:00
parent e2f8747e2b
commit a06209890a
2 changed files with 17 additions and 11 deletions

11
.github/stale.yml vendored
View File

@ -1,11 +0,0 @@
daysUntilStale: 60
daysUntilClose: 7
exemptLabels:
- pinned
- security
staleLabel: stale
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false

17
.github/workflows/stale.yml vendored Normal file
View File

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