Create stale.yml

This commit is contained in:
James Mills 2020-01-26 13:30:23 +10:00 committed by GitHub
parent 08e4c9856e
commit c25655fcfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
.github/workflows/stale.yml vendored Normal file

@ -0,0 +1,29 @@
name: Mark stale issues and pull requests
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 has gone stale and has been automatically closed.
If this is incorrect, please reopen and add the label `on hold`.
Thank you.
stale-pr-message: |-
This Pull Request has gone stale and has been automatically closed.
If this is incorrect, please reopen and add the label `on hold`.
Thank you.
stale-issue-label: 'stale'
exempt-issue-label: 'on hold'
stale-pr-label: 'stale'
exempt-pr-label: 'on hold'