forked from dotnet/maui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresourceManagement.yml
More file actions
722 lines (708 loc) · 23.9 KB
/
Copy pathresourceManagement.yml
File metadata and controls
722 lines (708 loc) · 23.9 KB
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description: "[Idle Issue Management] Close stale 's/needs-info' issues"
frequencies:
- weekday:
day: Monday
time: 0:0
- weekday:
day: Tuesday
time: 0:0
- weekday:
day: Wednesday
time: 0:0
- weekday:
day: Thursday
time: 0:0
- weekday:
day: Friday
time: 0:0
filters:
- isIssue
- isOpen
- hasLabel:
label: s/needs-info
- hasLabel:
label: s/no-recent-activity
- noActivitySince:
days: 3
actions:
- closeIssue
- description: "[Idle Issue Management] Close stale 's/needs-repro' issues"
frequencies:
- weekday:
day: Monday
time: 0:0
- weekday:
day: Tuesday
time: 0:0
- weekday:
day: Wednesday
time: 0:0
- weekday:
day: Thursday
time: 0:0
- weekday:
day: Friday
time: 0:0
filters:
- isIssue
- isOpen
- hasLabel:
label: s/needs-repro
- hasLabel:
label: s/no-recent-activity
- noActivitySince:
days: 3
actions:
- closeIssue
- description: "[Idle Issue Management] Add no recent activity label to 's/needs-info' issues"
frequencies:
- weekday:
day: Monday
time: 0:0
- weekday:
day: Tuesday
time: 0:0
- weekday:
day: Wednesday
time: 0:0
- weekday:
day: Thursday
time: 0:0
- weekday:
day: Friday
time: 0:0
filters:
- isIssue
- isOpen
- hasLabel:
label: s/needs-info
- noActivitySince:
days: 4
- isNotLabeledWith:
label: s/no-recent-activity
actions:
- addLabel:
label: s/no-recent-activity
- addReply:
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. If it *is* closed, feel free to comment when you are able to provide the additional information and we will re-investigate.
- description: "[Idle Issue Management] Add no recent activity label to 's/needs-repro' issues"
frequencies:
- weekday:
day: Monday
time: 0:0
- weekday:
day: Tuesday
time: 0:0
- weekday:
day: Wednesday
time: 0:0
- weekday:
day: Thursday
time: 0:0
- weekday:
day: Friday
time: 0:0
filters:
- isIssue
- isOpen
- hasLabel:
label: s/needs-repro
- noActivitySince:
days: 4
- isNotLabeledWith:
label: s/no-recent-activity
actions:
- addLabel:
label: s/no-recent-activity
- addReply:
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. If it *is* closed, feel free to comment when you are able to provide the additional information and we will re-investigate.
- description: "[Idle Issue Management] Close stale 's/try-latest-version' issues"
frequencies:
- hourly:
hour: 12
filters:
- isOpen
- hasLabel:
label: s/try-latest-version
- noActivitySince:
days: 7
actions:
- closeIssue
- description: Stale PR reminder
frequencies:
- hourly:
hour: 3
filters:
- isOpen
- isPullRequest
- hasLabel:
label: s/pr-needs-author-input
- noActivitySince:
days: 10
- isNotLabeledWith:
label: stale
actions:
- addReply:
reply: >-
Hi ${issueAuthor}.
It seems you haven't touched this PR for the last two weeks. To avoid accumulating old PRs, we're marking it as `stale`. As a result, it will be closed if no further activity occurs **within 4 days of this comment**. You can learn more about our Issue Management Policies [here](https://github.com/dotnet/maui/blob/main/docs/IssueManagementPolicies.md).
- addLabel:
label: stale
- description: Close stale PRs
frequencies:
- hourly:
hour: 4
filters:
- isOpen
- isPullRequest
- hasLabel:
label: s/pr-needs-author-input
- hasLabel:
label: stale
- noActivitySince:
days: 4
actions:
- closeIssue
eventResponderTasks:
- if:
- payloadType: Issue_Comment
- isIssue
- isAction:
action: Created
- or:
- hasLabel:
label: s/needs-info
- hasLabel:
label: s/needs-repro
- isOpen
- or:
- and:
- not:
activitySenderHasPermission:
permission: Write
- not:
activitySenderHasPermission:
permission: Admin
- isActivitySender:
issueAuthor: True
then:
- addLabel:
label: s/needs-attention
- removeLabel:
label: s/needs-info
- removeLabel:
label: s/needs-repro
description: '[Idle Issue Management] Replace needs author feedback label with needs attention label when the author comments on an issue'
- if:
- payloadType: Issues
- not:
isAction:
action: Closed
- hasLabel:
label: s/no-recent-activity
then:
- removeLabel:
label: s/no-recent-activity
description: '[Closed Issue Management] Remove no recent activity label from issues'
- if:
- payloadType: Issue_Comment
- isIssue
- hasLabel:
label: s/no-recent-activity
then:
- removeLabel:
label: s/no-recent-activity
description: '[Idle Issue Management] Remove no recent activity label when an issue is commented on'
- if:
- payloadType: Pull_Request
- isAction:
action: Opened
- isActivitySender:
user: dotnet-maestro[bot]
issueAuthor: False
- titleContains:
pattern: Update dependencies
isRegex: False
then:
- addLabel:
label: "area-infrastructure"
description: '[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests'
- if:
- payloadType: Pull_Request
- labelAdded:
label: s/needs-info
then:
- addReply:
reply: >-
Hello. I see that you've just added `s/needs-info` label to this PR.
That label is for Issues and not for PRs. Don't worry, I'm going to replace it with the correct one.
- removeLabel:
label: s/needs-info
- addLabel:
label: s/pr-needs-author-input
description: Replace `s/needs-info` with `s/pr-needs-author-input` for PRs
- if:
- payloadType: Pull_Request
- labelAdded:
label: s/needs-repro
then:
- addReply:
reply: >-
Hello. I see that you've just added `s/needs-repro` label to this PR.
That label is for Issues and not for PRs, so I removed it.
- removeLabel:
label: s/needs-repro
description: Remove `s/needs-repro` from PRs
- if:
- payloadType: Issues
- labelAdded:
label: s/needs-info
then:
- addReply:
reply: Hi ${issueAuthor}. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
description: Add comment when 's/needs-info' is applied to issue
- if:
- payloadType: Issues
- labelAdded:
label: s/needs-repro
then:
- addReply:
reply: >-
Hi ${issueAuthor}. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
description: Add comment when 's/needs-repro' is applied to issue
- if:
- payloadType: Issues
- isAction:
action: Opened
- or:
- isActivitySender:
user: alexeystrakh
issueAuthor: False
- isActivitySender:
user: alexkblount
issueAuthor: False
- isActivitySender:
user: BenBtg
issueAuthor: False
- isActivitySender:
user: DeanFaizal
issueAuthor: False
- isActivitySender:
user: jgold6
issueAuthor: False
- isActivitySender:
user: jmongaras
issueAuthor: False
- isActivitySender:
user: jonlipsky
issueAuthor: False
- isActivitySender:
user: JoonghyunCho
issueAuthor: False
- isActivitySender:
user: juanlao
issueAuthor: False
- isActivitySender:
user: migueBarrera
issueAuthor: False
- isActivitySender:
user: mikeparker104
issueAuthor: False
- isActivitySender:
user: myroot
issueAuthor: False
- isActivitySender:
user: rookiejava
issueAuthor: False
- isActivitySender:
user: shyunMin
issueAuthor: False
- isActivitySender:
user: sung-su
issueAuthor: False
- isActivitySender:
user: XceedBoucherS
issueAuthor: False
- isActivitySender:
user: MattXceed
issueAuthor: False
- isActivitySender:
user: Sweekriti91
issueAuthor: False
then:
- addLabel:
label: partner
description: Add 'partner' label when issue is opened by a partner
- if:
- payloadType: Issues
- isOpen
- labelAdded:
label: s/move-to-vs-feedback
then:
- addReply:
reply: >-
Thanks for the issue report ${issueAuthor}! This issue appears to be a problem with Visual Studio (Code), so we ask that you use the VS feedback tool to report the issue. That way it will get routed to the team that owns this experience in VS (Code).
If you encounter a problem with Visual Studio or the .NET MAUI VS Code Extension, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
1. Go to the [Visual Studio for Windows feedback tool](https://learn.microsoft.com/visualstudio/ide/how-to-report-a-problem-with-visual-studio) or [.NET MAUI VS Code Extension repository](https://github.com/microsoft/vscode-dotnettools/issues) to report the issue
2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.
description: Ask user to use VS Feedback for VS issues
- if:
- payloadType: Issues
- isAction:
action: Opened
- or:
- isActivitySender:
user: roubachof
issueAuthor: False
then:
- addLabel:
label: i/great-reporter
description: Add 'i/great-reporter' when issue is opened by an author we know opens high quality issues
- if:
- payloadType: Issues
- labelAdded:
label: s/try-latest-version
then:
- addReply:
reply: >-
Hi ${issueAuthor}. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a [reproduction project](https://github.com/dotnet/maui/blob/main/.github/repro.md) provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
description: Add comment when 's/try-latest-version' is applied to the issue
- if:
- payloadType: Pull_Request
- activitySenderHasPermission:
permission: Read
- not:
isActivitySender:
user: dotnet-maestro
issueAuthor: False
- not:
isActivitySender:
user: dotnet-maestro-bot
issueAuthor: False
- not:
isActivitySender:
user: Ahamed-Ali
issueAuthor: False
- not:
isActivitySender:
user: anandhan-rajagopal
issueAuthor: False
- not:
isActivitySender:
user: BagavathiPerumal
issueAuthor: False
- not:
isActivitySender:
user: deepika2509
issueAuthor: False
- not:
isActivitySender:
user: devanathan-vaithiyanathan
issueAuthor: False
- not:
isActivitySender:
user: Dhivya-SF4094
issueAuthor: False
- not:
isActivitySender:
user: HarishKumarSF4517
issueAuthor: False
- not:
isActivitySender:
user: HarishwaranVijayakumar
issueAuthor: False
- not:
isActivitySender:
user: KarthikRajaKalaimani
issueAuthor: False
- not:
isActivitySender:
user: karthikraja-arumugam
issueAuthor: False
- not:
isActivitySender:
user: LogishaSelvarajSF4525
issueAuthor: False
- not:
isActivitySender:
user: NafeelaNazhir
issueAuthor: False
- not:
isActivitySender:
user: NanthiniMahalingam
issueAuthor: False
- not:
isActivitySender:
user: NirmalKumarYuvaraj
issueAuthor: False
- not:
isActivitySender:
user: nivetha-nagalingam
issueAuthor: False
- not:
isActivitySender:
user: PaulAndersonS
issueAuthor: False
- not:
isActivitySender:
user: prakashKannanSf3972
issueAuthor: False
- not:
isActivitySender:
user: praveenkumarkarunanithi
issueAuthor: False
- not:
isActivitySender:
user: Shalini-Ashokan
issueAuthor: False
- not:
isActivitySender:
user: sheiksyedm
issueAuthor: False
- not:
isActivitySender:
user: SubhikshaSf4851
issueAuthor: False
- not:
isActivitySender:
user: SuthiYuvaraj
issueAuthor: False
- not:
isActivitySender:
user: SyedAbdulAzeemSF4852
issueAuthor: False
- not:
isActivitySender:
user: Tamilarasan-Paranthaman
issueAuthor: False
- not:
isActivitySender:
user: TamilarasanSF4853
issueAuthor: False
- not:
isActivitySender:
user: Vignesh-SF3580
issueAuthor: False
- not:
isActivitySender:
user: vishnumenon2684
issueAuthor: False
- isAction:
action: Opened
then:
- addLabel:
label: community ✨
- addReply:
reply: Hey there ${issueAuthor}! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.
description: Add 'community ✨' label to community contributions
- if:
- payloadType: Pull_Request
- hasLabel:
label: stale
- hasLabel:
label: s/pr-needs-author-input
- isActivitySender:
issueAuthor: True
- not:
activitySenderHasPermission:
permission: Write
then:
- reopenIssue
- removeLabel:
label: stale
- removeLabel:
label: s/pr-needs-author-input
description: Revitalize stale PR and reopen
- if:
- payloadType: Pull_Request
- labelAdded:
label: s/pr-needs-author-input
then:
- addReply:
reply: Hi ${issueAuthor}. We have added the "s/pr-needs-author-input" label to this PR, which indicates that we have an open question/action for you before we can take further action. This PR will be closed automatically in 14 days if we do not hear back from you by then - please feel free to re-open it if you come back to this PR after that time.
description: Add comment when 's/pr-needs-author-input' is applied to PR
- if:
- payloadType: Issues
- labelAdded:
label: "t/breaking \U0001F4A5"
then:
- addReply:
reply: "\U0001F6A8 API change(s) detected @davidortinau FYI"
description: Tag David Ortinau when a breaking change is tagged on an issue
- if:
- payloadType: Pull_Request
- labelAdded:
label: "t/breaking \U0001F4A5"
then:
- addReply:
reply: "\U0001F6A8 API change(s) detected @davidortinau FYI"
description: Tag David Ortinau when a breaking change is tagged on an PR
- if:
- payloadType: Issue_Comment
- isIssue
- hasLabel:
label: s/try-latest-version
- isActivitySender:
issueAuthor: True
- not:
activitySenderHasPermission:
permission: Write
then:
- removeLabel:
label: s/try-latest-version
description: Remove 's/try-latest-version' when new reply from author comes in
- if:
- payloadType: Issues
- isAction:
action: Opened
- or:
- isActivitySender:
user: PureWeen
issueAuthor: False
- isActivitySender:
user: mattleibow
issueAuthor: False
- isActivitySender:
user: rmarinho
issueAuthor: False
- isActivitySender:
user: jsuarezruiz
issueAuthor: False
- isActivitySender:
user: Redth
issueAuthor: False
- isActivitySender:
user: StephaneDelcroix
issueAuthor: False
- isActivitySender:
user: samhouts
issueAuthor: False
- isActivitySender:
user: jamesmontemagno
issueAuthor: False
- isActivitySender:
user: jonathanpeppers
issueAuthor: False
- isActivitySender:
user: rachelkang
issueAuthor: False
- isActivitySender:
user: Eilon
issueAuthor: False
- isActivitySender:
user: jfversluis
issueAuthor: False
- isActivitySender:
user: tj-devel709
issueAuthor: False
then:
- addLabel:
label: s/triaged
description: Add 's/triaged' label to issues opened by the (core) team, we assume these issues do not need triaging
- if:
- or:
- payloadType: Issues
- payloadType: Pull_Request
- isAction:
action: Opened
- or:
- isActivitySender:
user: Ahamed-Ali
issueAuthor: False
- isActivitySender:
user: anandhan-rajagopal
issueAuthor: False
- isActivitySender:
user: BagavathiPerumal
issueAuthor: False
- isActivitySender:
user: deepika2509
issueAuthor: False
- isActivitySender:
user: devanathan-vaithiyanathan
issueAuthor: False
- isActivitySender:
user: Dhivya-SF4094
issueAuthor: False
- isActivitySender:
user: HarishKumarSF4517
issueAuthor: False
- isActivitySender:
user: HarishwaranVijayakumar
issueAuthor: False
- isActivitySender:
user: KarthikRajaKalaimani
issueAuthor: False
- isActivitySender:
user: karthikraja-arumugam
issueAuthor: False
- isActivitySender:
user: LogishaSelvarajSF4525
issueAuthor: False
- isActivitySender:
user: NafeelaNazhir
issueAuthor: False
- isActivitySender:
user: NanthiniMahalingam
issueAuthor: False
- isActivitySender:
user: NirmalKumarYuvaraj
issueAuthor: False
- isActivitySender:
user: nivetha-nagalingam
issueAuthor: False
- isActivitySender:
user: PaulAndersonS
issueAuthor: False
- isActivitySender:
user: prakashKannanSf3972
issueAuthor: False
- isActivitySender:
user: praveenkumarkarunanithi
issueAuthor: False
- isActivitySender:
user: Shalini-Ashokan
issueAuthor: False
- isActivitySender:
user: sheiksyedm
issueAuthor: False
- isActivitySender:
user: SubhikshaSf4851
issueAuthor: False
- isActivitySender:
user: SuthiYuvaraj
issueAuthor: False
- isActivitySender:
user: SyedAbdulAzeemSF4852
issueAuthor: False
- isActivitySender:
user: Tamilarasan-Paranthaman
issueAuthor: False
- isActivitySender:
user: TamilarasanSF4853
issueAuthor: False
- isActivitySender:
user: Vignesh-SF3580
issueAuthor: False
- isActivitySender:
user: vishnumenon2684
issueAuthor: False
then:
- addLabel:
label: partner/syncfusion
description: Add 'partner/syncfusion' label to issues opened by the Syncfusion partner team
onFailure:
onSuccess: