Skip to content

Commit 069d386

Browse files
authored
Create stale config (#1607)
Purpose of this is to frequently clean up elastic agent repo
1 parent 66b98de commit 069d386

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

.github/stale.yml

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 90
5+
6+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 90
9+
10+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
11+
onlyLabels: []
12+
13+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
14+
exemptLabels:
15+
- flaky-test
16+
17+
# Set to true to ignore issues in a project (defaults to false)
18+
exemptProjects: false
19+
20+
# Set to true to ignore issues in a milestone (defaults to false)
21+
exemptMilestones: true
22+
23+
# Set to true to ignore issues with an assignee (defaults to false)
24+
exemptAssignees: true
25+
26+
# Label to use when marking as stale
27+
staleLabel: Stalled
28+
29+
# Comment to post when marking as stale. Set to `false` to disable
30+
markComment: >
31+
Hi!
32+
33+
We just realized that we haven't looked into this issue in a while. We're
34+
sorry!
35+
36+
37+
We're labeling this issue as `Stale` to make it hit our filters and
38+
make sure we get back to it as soon as possible. In the meantime, it'd
39+
be extremely helpful if you could take a look at it as well and confirm its
40+
relevance. A simple comment with a nice emoji will be enough `:+1`.
41+
42+
Thank you for your contribution!
43+
44+
# Comment to post when removing the stale label.
45+
# unmarkComment: >
46+
# Your comment here.
47+
48+
# Comment to post when closing a stale Issue or Pull Request.
49+
# closeComment: >
50+
# Your comment here.
51+
52+
# Limit the number of actions per hour, from 1-30. Default is 30
53+
limitPerRun: 30
54+
55+
# Limit to only `issues` or `pulls`
56+
# only: issues
57+
58+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
59+
pulls:
60+
daysUntilStale: 60
61+
daysUntilClose: 30
62+
markComment: >
63+
Hi!
64+
65+
We just realized that we haven't looked into this PR in a while. We're
66+
sorry!
67+
68+
69+
We're labeling this issue as `Stale` to make it hit our filters and
70+
make sure we get back to it as soon as possible. In the meantime, it'd
71+
be extremely helpful if you could take a look at it as well and confirm its
72+
relevance. A simple comment with a nice emoji will be enough `:+1`.
73+
74+
Thank you for your contribution!
75+
76+
closeComment: >
77+
Hi!
78+
79+
This PR has been stale for a while and we're going to close it as part of
80+
our cleanup procedure.
81+
82+
We appreciate your contribution and would like to apologize if we have not
83+
been able to review it, due to the current heavy load of the team.
84+
85+
Feel free to re-open this PR if you think it should stay open and is worth rebasing.
86+
87+
Thank you for your contribution!
88+
89+
# issues:
90+
# exemptLabels:
91+
# - confirmed

0 commit comments

Comments
 (0)