Merge pull request #242 from the1812/stale-bot

Stale bot
This commit is contained in:
Grant Howard 2019-11-17 23:43:50 +08:00 committed by GitHub
commit f500e95b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,23 @@
name: Stale Bot
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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 15 days'
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 15 days'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-label: long-term
exempt-pr-label: long-term
days-before-stale: 30
days-before-close: 15