Update stale.yml

This commit is contained in:
Glenn Jocher 2020-03-05 13:26:48 -08:00 committed by GitHub
parent e2f235cf1e
commit 2e8cee9fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 11 deletions

View File

@ -1,21 +1,16 @@
name: Mark stale issues and pull requests name: "Close stale issues"
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@1.0.0 - uses: actions/stale@v1
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue appears stale as no activity has been seen for some time. We will close this issue in the next few days.' 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 5 days'
stale-pr-message: 'This PR appears stale as no activity has been seen for some time. We will close this PR in the next few days.' stale-pr-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 5 days'
stale-issue-label: 'Stale' days-before-stale: 30
stale-pr-label: 'Stale' days-before-close: 5
days-before-stale: 10
days-before-close: 3