ci: add close stale (#2001)

This commit is contained in:
vesta 2020-09-25 14:40:01 +08:00 committed by GitHub
parent 26e54b901f
commit edf9596ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

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

@ -0,0 +1,19 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Mark this issue stale. Thank you for your feedback.'
stale-pr-message: 'Mark this pr stale. Thank you for your contribution.'
stale-issue-label: 'no-issue-activity'
exempt-issue-labels: 'WIP,bug,doc,easy,enhancement,FrozenDueToAge,future,help wanted,Icebox,In Progress,need-usage-help,prososal,question,testing,todo'
stale-pr-label: 'no-pr-activity'
exempt-pr-labels: 'WIP,bug,doc,easy,enhancement,FrozenDueToAge,future,help wanted,Icebox,In Progress,need-usage-help,prososal,question,testing,todo'
only-labels: 'invalid,duplicate,no plan'