Skip to content

Commit 394a22c

Browse files
committed
ci: add .github/stale.yml
1 parent d06650c commit 394a22c

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

.github/stale.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# =============================================================================
2+
# Stale Bot — Auto-close stale issues and PRs
3+
# =============================================================================
4+
# Free via GitHub App: https://github.com/apps/stale
5+
# Prevents issue rot, keeps backlog clean
6+
# =============================================================================
7+
8+
# Configuration for Stale - https://github.com/probot/stale
9+
10+
# Number of days of inactivity before an issue becomes stale
11+
daysUntilStale: 30
12+
13+
# Number of days of inactivity before a stale issue is closed
14+
daysUntilClose: 7
15+
16+
# Only issues or pull requests with all of these labels are checked if stale.
17+
# Defaults to `[]` (disabled).
18+
onlyLabels: []
19+
20+
# Issues or pull requests with these labels will never be considered stale.
21+
exemptLabels:
22+
- pinned
23+
- security
24+
- bug
25+
- enhancement
26+
- critical
27+
- dependencies
28+
29+
# Set to true to ignore issues in a project (defaults to false)
30+
exemptProjects: false
31+
32+
# Set to true to ignore issues in a milestone (defaults to false)
33+
exemptMilestones: false
34+
35+
# Set to true to ignore issues with an assignee (defaults to false)
36+
exemptAssignees: false
37+
38+
# Label to use when marking as stale
39+
staleLabel: stale
40+
41+
# Comment to post when marking as stale. Set to `false` to disable
42+
markComment: >
43+
This issue/PR has been automatically marked as stale because it has not had
44+
recent activity. It will be closed in 7 days if no further activity occurs.
45+
46+
# Comment to post when closing a stale issue. Set to `false` to disable
47+
closeComment: false
48+
49+
# Limit to only `issues` or `pulls`
50+
only: null
51+
52+
# Maximum number of operations per hour (GitHub rate limit)
53+
maximumPerHour: 10
54+
55+
# Limit the number of stale issues per run
56+
limitPerRun: 50

0 commit comments

Comments
 (0)