-
Notifications
You must be signed in to change notification settings - Fork 304
36 lines (33 loc) · 1.24 KB
/
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
27
28
29
30
31
32
33
34
35
36
name: 'Close stale issues'
on:
schedule:
- cron: '45 * * * *'
workflow_dispatch:
permissions:
issues: write
concurrency:
group: stale
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
stale-issue-message: "This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions."
close-issue-message: "This has been automatically closed because it has not had recent activity. Please feel free to update or reopen it."
stale-issue-label: 'stale'
remove-issue-stale-when-updated: 'true'
exempt-issue-labels: 'enhancement,bug,minor bug'
days-before-stale: 90
days-before-close: 30
operations-per-run: 200
ascending: 'true'
enable-statistics: 'true'
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
issue-inactive-days: '365'
issue-lock-reason: 'resolved'
process-only: 'issues'