Create close-stale-issues.yml

This commit is contained in:
Josh Moore 2020-09-29 12:57:56 -06:00 committed by GitHub
parent a725f3eb26
commit cec6edd3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 */12 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
close-issue-message: Closed due to inactivity
close-pr-message: Closed due to inactivity
days-before-stale: 30
days-before-close: 45
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: help wanted,revisit
exempt-pr-labels: help wanted,revisit
skip-stale-pr-message: true
skip-stale-issue-message: true