Skip to content

Commit 267ce62

Browse files
authored
Add Stalebot configuration
Resolves #2602.
1 parent 05414dc commit 267ce62

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

Diff for: .github/stale.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
# Configuration options apply to both Issues and Pull Requests.
3+
# We configure those individually to match our workflow (see `pulls:` and `issues:`)
4+
5+
pulls:
6+
# Number of days of inactivity before a Pull Request becomes stale
7+
daysUntilStale: 60
8+
9+
# Number of days of inactivity before a Pull Request with the stale label is closed.
10+
# Set to false to disable. If disabled, Pull Request still need to be closed manually, but will remain marked as stale.
11+
daysUntilClose: 21
12+
13+
# Comment to post when marking as stale. Set to `false` to disable
14+
markComment: >
15+
This pull request has been automatically marked as stale because it has not had recent activity.
16+
Given the limited bandwidth of the team, it will be closed if no further activity occurs.
17+
If you intend to work on this pull request, please reopen the PR.
18+
Thank you for your contributions.
19+
# Comment to post when closing a stale Pull Request.
20+
closeComment: >
21+
This pull request has been automatically closed due to inactivity.
22+
If you are still interested in contributing this, please ensure that
23+
it is rebased against the latest branch (usually `main`), all review
24+
comments have been addressed and the build is passing.
25+
issues:
26+
daysUntilStale: 365
27+
28+
# Number of days of inactivity before an Issue with the stale label is closed.
29+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
30+
daysUntilClose: 21
31+
32+
# Comment to post when marking as stale. Set to `false` to disable
33+
markComment: >
34+
This issue has been automatically marked as stale because it has not had recent activity.
35+
Given the limited bandwidth of the team, it will be automatically closed if no further
36+
activity occurs.
37+
Thank you for your contribution.
38+
# Comment to post when closing a stale Issue.
39+
closeComment: >
40+
This issue has been automatically closed due to inactivity. If you have a good use case for this
41+
feature, please feel free to reopen the issue.
42+
43+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
44+
#onlyLabels: []
45+
46+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
47+
exemptLabels: []
48+
49+
# Set to true to ignore issues in a project (defaults to false)
50+
exemptProjects: false
51+
52+
# Set to true to ignore issues in a milestone (defaults to false)
53+
exemptMilestones: false
54+
55+
# Set to true to ignore issues with an assignee (defaults to false)
56+
exemptAssignees: false
57+
58+
# Label to use when marking as stale
59+
staleLabel: "status: stale"
60+
61+
# Comment to post when removing the stale label.
62+
# unmarkComment: >
63+
# Your comment here.
64+
65+
# Limit the number of actions per hour, from 1-30. Default is 30
66+
limitPerRun: 30
67+
68+
# Limit to only `issues` or `pulls`
69+
# only: issues

0 commit comments

Comments
 (0)