-
Notifications
You must be signed in to change notification settings - Fork 1.4k
26 lines (24 loc) · 1.06 KB
/
issues-stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: 'Close stale issues'
on:
schedule:
- cron: '00 5 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 7
days-before-stale: 7
only-labels: 'needs-more-info'
exempt-issue-labels: 'triage'
close-issue-message: 'Closing this issue because it needs more information and has not had recent activity. Please re-open this issue if more details can be provided. Thanks!'
stale-issue-label: 'inactive'
stale-issue-message: 'This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!'
labels-to-add-when-unstale: 'triage'
labels-to-remove-when-unstale: 'needs-more-info'