Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
ci: auto close invalid and followup less issues
Browse files Browse the repository at this point in the history
  • Loading branch information
scagood authored Jul 8, 2023
1 parent da7cee9 commit 06d1983
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Close stale issues'
on:
schedule:
- cron: '30 1 * * *'

permissions:
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
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.'
close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.'
days-before-stale: 30
days-before-close: 5
# Never close a PR
days-before-pr-close: -1
# We should only close issues that we have explicitly answered/interacted with
any-of-labels: 'invalid,needs-more-info,answered'

0 comments on commit 06d1983

Please sign in to comment.