|
108 | 108 | ] |
109 | 109 | } |
110 | 110 | }, |
111 | | - { |
112 | | - "taskType": "scheduled", |
113 | | - "capabilityId": "ScheduledSearch", |
114 | | - "subCapability": "ScheduledSearch", |
115 | | - "version": "1.0", |
116 | | - "config": { |
117 | | - "frequency": [ |
118 | | - { |
119 | | - "weekDay": 0, |
120 | | - "hours": [ |
121 | | - 18 |
122 | | - ] |
123 | | - }, |
124 | | - { |
125 | | - "weekDay": 1, |
126 | | - "hours": [ |
127 | | - 18 |
128 | | - ] |
129 | | - }, |
130 | | - { |
131 | | - "weekDay": 2, |
132 | | - "hours": [ |
133 | | - 18 |
134 | | - ] |
135 | | - }, |
136 | | - { |
137 | | - "weekDay": 3, |
138 | | - "hours": [ |
139 | | - 18 |
140 | | - ] |
141 | | - }, |
142 | | - { |
143 | | - "weekDay": 4, |
144 | | - "hours": [ |
145 | | - 18 |
146 | | - ] |
147 | | - }, |
148 | | - { |
149 | | - "weekDay": 5, |
150 | | - "hours": [ |
151 | | - 18 |
152 | | - ] |
153 | | - }, |
154 | | - { |
155 | | - "weekDay": 6, |
156 | | - "hours": [ |
157 | | - 18 |
158 | | - ] |
159 | | - } |
160 | | - ], |
161 | | - "searchTerms": [ |
162 | | - { |
163 | | - "name": "noActivitySince", |
164 | | - "parameters": { |
165 | | - "days": 2 |
166 | | - } |
167 | | - }, |
168 | | - { |
169 | | - "name": "hasLabel", |
170 | | - "parameters": { |
171 | | - "label": "Duplicate" |
172 | | - } |
173 | | - }, |
174 | | - { |
175 | | - "name": "isOpen", |
176 | | - "parameters": {} |
177 | | - } |
178 | | - ], |
179 | | - "taskName": "Close Duplicates", |
180 | | - "actions": [ |
181 | | - { |
182 | | - "name": "closeIssue", |
183 | | - "parameters": {} |
184 | | - }, |
185 | | - { |
186 | | - "name": "addReply", |
187 | | - "parameters": { |
188 | | - "comment": "This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes." |
189 | | - } |
190 | | - } |
191 | | - ] |
192 | | - } |
193 | | - }, |
194 | | - { |
195 | | - "taskType": "scheduled", |
196 | | - "capabilityId": "ScheduledSearch", |
197 | | - "subCapability": "ScheduledSearch", |
198 | | - "version": "1.0", |
199 | | - "config": { |
200 | | - "taskName": "Close Externals", |
201 | | - "frequency": [ |
202 | | - { |
203 | | - "weekDay": 0, |
204 | | - "hours": [ |
205 | | - 10 |
206 | | - ], |
207 | | - "restrictions": [ |
208 | | - { |
209 | | - "name": "" |
210 | | - } |
211 | | - ] |
212 | | - }, |
213 | | - { |
214 | | - "weekDay": 1, |
215 | | - "hours": [ |
216 | | - 10 |
217 | | - ] |
218 | | - }, |
219 | | - { |
220 | | - "weekDay": 2, |
221 | | - "hours": [ |
222 | | - 10 |
223 | | - ] |
224 | | - }, |
225 | | - { |
226 | | - "weekDay": 3, |
227 | | - "hours": [ |
228 | | - 10 |
229 | | - ] |
230 | | - }, |
231 | | - { |
232 | | - "weekDay": 4, |
233 | | - "hours": [ |
234 | | - 10 |
235 | | - ] |
236 | | - }, |
237 | | - { |
238 | | - "weekDay": 5, |
239 | | - "hours": [ |
240 | | - 10 |
241 | | - ] |
242 | | - }, |
243 | | - { |
244 | | - "weekDay": 6, |
245 | | - "hours": [ |
246 | | - 10 |
247 | | - ] |
248 | | - } |
249 | | - ], |
250 | | - "searchTerms": [ |
251 | | - { |
252 | | - "name": "hasLabel", |
253 | | - "parameters": { |
254 | | - "label": "External" |
255 | | - } |
256 | | - }, |
257 | | - { |
258 | | - "name": "isOpen", |
259 | | - "parameters": {} |
260 | | - }, |
261 | | - { |
262 | | - "name": "noActivitySince", |
263 | | - "parameters": { |
264 | | - "days": 2 |
265 | | - } |
266 | | - } |
267 | | - ], |
268 | | - "actions": [ |
269 | | - { |
270 | | - "name": "closeIssue", |
271 | | - "parameters": {} |
272 | | - }, |
273 | | - { |
274 | | - "name": "addReply", |
275 | | - "parameters": { |
276 | | - "comment": "This issue has been marked as 'External' and has seen no recent activity. It has been automatically closed for house-keeping purposes." |
277 | | - } |
278 | | - } |
279 | | - ] |
280 | | - } |
281 | | - }, |
282 | 111 | { |
283 | 112 | "taskType": "trigger", |
284 | 113 | "capabilityId": "IssueResponder", |
|
372 | 201 | ] |
373 | 202 | } |
374 | 203 | }, |
375 | | - { |
376 | | - "taskType": "scheduled", |
377 | | - "capabilityId": "ScheduledSearch", |
378 | | - "subCapability": "ScheduledSearch", |
379 | | - "version": "1.0", |
380 | | - "config": { |
381 | | - "taskName": "Close Working as Intended", |
382 | | - "frequency": [ |
383 | | - { |
384 | | - "weekDay": 0, |
385 | | - "hours": [ |
386 | | - 20 |
387 | | - ] |
388 | | - }, |
389 | | - { |
390 | | - "weekDay": 1, |
391 | | - "hours": [ |
392 | | - 20 |
393 | | - ] |
394 | | - }, |
395 | | - { |
396 | | - "weekDay": 2, |
397 | | - "hours": [ |
398 | | - 20 |
399 | | - ] |
400 | | - }, |
401 | | - { |
402 | | - "weekDay": 3, |
403 | | - "hours": [ |
404 | | - 20 |
405 | | - ] |
406 | | - }, |
407 | | - { |
408 | | - "weekDay": 4, |
409 | | - "hours": [ |
410 | | - 20 |
411 | | - ] |
412 | | - }, |
413 | | - { |
414 | | - "weekDay": 5, |
415 | | - "hours": [ |
416 | | - 20 |
417 | | - ] |
418 | | - }, |
419 | | - { |
420 | | - "weekDay": 6, |
421 | | - "hours": [ |
422 | | - 20 |
423 | | - ] |
424 | | - } |
425 | | - ], |
426 | | - "searchTerms": [ |
427 | | - { |
428 | | - "name": "hasLabel", |
429 | | - "parameters": { |
430 | | - "label": "Working as Intended" |
431 | | - } |
432 | | - }, |
433 | | - { |
434 | | - "name": "isOpen", |
435 | | - "parameters": {} |
436 | | - }, |
437 | | - { |
438 | | - "name": "noActivitySince", |
439 | | - "parameters": { |
440 | | - "days": 2 |
441 | | - } |
442 | | - } |
443 | | - ], |
444 | | - "actions": [ |
445 | | - { |
446 | | - "name": "addReply", |
447 | | - "parameters": { |
448 | | - "comment": "This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes." |
449 | | - } |
450 | | - }, |
451 | | - { |
452 | | - "name": "closeIssue", |
453 | | - "parameters": {} |
454 | | - } |
455 | | - ] |
456 | | - } |
457 | | - }, |
458 | 204 | { |
459 | 205 | "taskType": "trigger", |
460 | 206 | "capabilityId": "IssueResponder", |
|
494 | 240 | }, |
495 | 241 | "disabled": true |
496 | 242 | }, |
497 | | - { |
498 | | - "taskType": "scheduled", |
499 | | - "capabilityId": "ScheduledSearch", |
500 | | - "subCapability": "ScheduledSearch", |
501 | | - "version": "1.1", |
502 | | - "config": { |
503 | | - "taskName": "Close Questions", |
504 | | - "frequency": [ |
505 | | - { |
506 | | - "weekDay": 0, |
507 | | - "hours": [ |
508 | | - 0, |
509 | | - 12 |
510 | | - ] |
511 | | - }, |
512 | | - { |
513 | | - "weekDay": 1, |
514 | | - "hours": [ |
515 | | - 0, |
516 | | - 12 |
517 | | - ] |
518 | | - }, |
519 | | - { |
520 | | - "weekDay": 2, |
521 | | - "hours": [ |
522 | | - 0, |
523 | | - 12 |
524 | | - ] |
525 | | - }, |
526 | | - { |
527 | | - "weekDay": 3, |
528 | | - "hours": [ |
529 | | - 0, |
530 | | - 12 |
531 | | - ] |
532 | | - }, |
533 | | - { |
534 | | - "weekDay": 4, |
535 | | - "hours": [ |
536 | | - 0, |
537 | | - 12 |
538 | | - ] |
539 | | - }, |
540 | | - { |
541 | | - "weekDay": 5, |
542 | | - "hours": [ |
543 | | - 0, |
544 | | - 12 |
545 | | - ] |
546 | | - }, |
547 | | - { |
548 | | - "weekDay": 6, |
549 | | - "hours": [ |
550 | | - 0, |
551 | | - 12 |
552 | | - ] |
553 | | - } |
554 | | - ], |
555 | | - "searchTerms": [ |
556 | | - { |
557 | | - "name": "hasLabel", |
558 | | - "parameters": { |
559 | | - "label": "Question" |
560 | | - } |
561 | | - }, |
562 | | - { |
563 | | - "name": "isOpen", |
564 | | - "parameters": {} |
565 | | - }, |
566 | | - { |
567 | | - "name": "noActivitySince", |
568 | | - "parameters": { |
569 | | - "days": 2 |
570 | | - } |
571 | | - } |
572 | | - ], |
573 | | - "actions": [ |
574 | | - { |
575 | | - "name": "closeIssue", |
576 | | - "parameters": {} |
577 | | - }, |
578 | | - { |
579 | | - "name": "addReply", |
580 | | - "parameters": { |
581 | | - "comment": "This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to [stackoverflow](https://stackoverflow.com/questions/tagged/typescript) or the [TypeScript Discord community](https://discord.gg/typescript)." |
582 | | - } |
583 | | - } |
584 | | - ] |
585 | | - } |
586 | | - }, |
587 | 243 | { |
588 | 244 | "taskType": "trigger", |
589 | 245 | "capabilityId": "IssueResponder", |
|
0 commit comments