-
Notifications
You must be signed in to change notification settings - Fork 65
/
config-example.js
140 lines (136 loc) · 3.92 KB
/
config-example.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/**
* EXAMPLE CUSTOM ZULIPBOT CONFIGURATION — Zulip
*
* See https://github.com/zulip/zulipbot/wiki/configuration for detailed
* explanations on each option.
*/
export const issues = {
commands: {
assign: {
claim: ["claim"],
abandon: ["abandon", "unclaim", "abort"],
limit: 1,
newContributors: {
permission: "pull",
restricted: 1,
},
warn: {
labels: ["help wanted"],
force: false,
},
},
label: {
add: ["label", "add"],
remove: ["unlabel", "remove"],
},
},
area: {
labels: new Map([
["area: accessibility", "server-misc"],
["area: analytics", "server-analytics"],
["area: api", "server-api"],
["area: authentication", "server-authentication"],
["area: bots", "server-bots"],
["area: browser-support", "server-browser-support"],
["area: compose", "server-compose"],
["area: db cleanup", "server-misc"],
["area: dependencies", "server-dependencies"],
["area: documentation (api and integrations)", "server-api"],
["area: documentation (developer)", "server-development"],
["area: documentation (production)", "server-production"],
["area: documentation (user)", "server-user-docs"],
["area: emails", "server-development"],
["area: emoji", "server-emoji"],
["area: export/import", "server-misc"],
["area: hotkeys", "server-hotkeys"],
["area: internationalization", "server-i18n"],
["area: in", "server-in"],
["area: integrations", "server-integrations"],
["area: invitations", "server-onboarding"],
["area: left-sidebar", "server-sidebars"],
["area: markdown", "server-markdown"],
["area: message-editing", "server-message-view"],
["area: message view", "server-message-view"],
["area: misc", "server-misc"],
["area: notifications", "server-notifications"],
["area: onboarding", "server-onboarding"],
["area: portico", "server-misc"],
["area: production installer", "server-production"],
["area: production", "server-production"],
["area: provision", "server-development"],
["area: real-time sync", "server-misc"],
["area: refactoring", "server-refactoring"],
["area: right-sidebar", "server-sidebars"],
["area: search", "server-search"],
["area: settings (admin/org)", "server-settings"],
["area: settings UI", "server-settings"],
["area: settings (user)", "server-settings"],
["area: stream settings", "server-streams"],
["area: testing-coverage", "server-testing"],
["area: testing-infrastructure", "server-testing"],
["area: tooling", "server-tooling"],
["area: topics", "server-misc"],
["area: uploads", "server-misc"],
["area: webpack", "server-development"],
["design", "design"],
["redesign", "design"],
["UI experiment", "design"],
]),
references: true,
},
};
export const pulls = {
status: {
mergeConflicts: {
label: "has conflicts",
comment: true,
},
wip: "[WIP]",
size: {
labels: new Map([
["size: XS", 0],
["size: S", 5],
["size: M", 25],
["size: L", 50],
["size: XL", 100],
]),
exclude: ["frontend_tests/", "zerver/tests/"],
},
},
references: {
required: true,
labels: {
exclude: ["in progress", "help wanted"],
},
},
};
export const activity = {
inactive: "inactive",
check: {
repositories: [
"zulip/zulip",
"zulip/python-zulip-api",
"zulip/zulip-desktop",
"zulip/zulip-terminal",
"zulip/zulipbot",
],
interval: 6,
reminder: 10,
limit: 4,
},
issues: {
inProgress: "in progress",
clearClosed: true,
},
pulls: {
autoUpdate: false,
reviewed: {
label: "reviewed",
},
needsReview: {
label: "needs review",
ignore: true,
},
},
};
export const eventsDelay = 3;