manage stale issues in GH actions

This commit is contained in:
Casey Lee 2020-02-28 09:35:29 -08:00
parent 6e1da1a70d
commit 45839d68ec
No known key found for this signature in database
GPG key ID: 1899120ECD0A1784

18
.github/workflows/stale.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: "Close stale issues"
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: 'Issue is stale and will be closed in 7 days unless there is new activity'
stale-pr-message: 'PR is stale and will be closed in 7 days unless there is new activity'
stale-issue-label: 'meta/stale'
exempt-issue-label: 'meta/stale-exempt'
stale-pr-label: 'meta/stale'
exempt-pr-label: 'meta/stale-exempt'