Update stale.yml

This commit is contained in:
tteckster 2021-12-24 19:29:46 -05:00 committed by GitHub
parent c18d32b4e8
commit baca4e972d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,19 @@
name: Close inactive issues name: "Close stale issues/pull requests"
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
workflow_dispatch:
jobs: jobs:
close-issues: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps: steps:
- uses: actions/stale@v3 - uses: actions/stale@v3
with: with:
days-before-issue-stale: 7 repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-close: 2 stale-issue-message: 'This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days'
stale-issue-label: "stale" stale-pr-message: 'This pull request is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days'
stale-issue-message: "This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days." days-before-stale: 5
close-issue-message: "This issue was closed because it has been inactive for 2 days since being marked as stale." days-before-close: 2
days-before-pr-stale: -1 operations-per-run: 500
days-before-pr-close: -1 exempt-issue-labels: 'breaking change'
repo-token: ${{ secrets.GITHUB_TOKEN }}