Skip to content

Commit 9d7c6de

Browse files
authored
Use some other config that was previously working to check...
1 parent 274a499 commit 9d7c6de

File tree

1 file changed

+44
-18
lines changed

1 file changed

+44
-18
lines changed
Lines changed: 44 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
id: pullRequestManagement.labelFiles
2-
name: GitOps.PullRequestLabelFiles
3-
description: Checks the files touched by a pull request and assigns a reviewer
1+
id: pullRequestManagement.serviceLabels
2+
name: GitOps.PullRequestServiceLabels
3+
description: Checks the files touched by a pull request and assigns area labels.
44
owner:
55
resource: repository
66
disabled: false
77
where:
88
configuration:
99
resourceManagementConfiguration:
1010
eventResponderTasks:
11-
- description: Modify PRs that touch certain files
11+
- description: Add labels to PRs that touch certain files
1212
triggerOnOwnActions: false
1313
if:
1414
- payloadType: Pull_Request
@@ -21,23 +21,49 @@ configuration:
2121
targetsBranch:
2222
branch: live
2323
then:
24+
# Framework WPF
2425
- if:
25-
- filesMatchPattern:
26-
matchAny: true
27-
pattern: (?i).*/blazor/hybrid/.*
26+
- filesMatchPattern:
27+
pattern: '(?i).*dotnet-desktop-guide\/framework\/wpf.*'
28+
matchAny: true
2829
then:
29-
- requestReviewer:
30-
reviewer: guardrex
31-
- addLabel:
32-
label: blazor-hybrid/subsvc
30+
- addLabel:
31+
label: 'dotnet-framework/svc'
32+
- addLabel:
33+
label: 'wpf/subsvc'
34+
35+
# Framework WinForms
3336
- if:
34-
- filesMatchPattern:
35-
matchAny: true
36-
pattern: pattern: (?i).*/blazor/.*
37+
- filesMatchPattern:
38+
pattern: '(?i).*dotnet-desktop-guide\/framework\/winforms.*'
39+
matchAny: true
3740
then:
38-
- requestReviewer:
39-
reviewer: guardrex
40-
- addLabel:
41-
label: blazor/subsvc
41+
- addLabel:
42+
label: 'dotnet-framework/svc'
43+
- addLabel:
44+
label: 'winforms/subsvc'
45+
46+
# .NET WPF
47+
- if:
48+
- filesMatchPattern:
49+
pattern: '(?i).*dotnet-desktop-guide\/net\/wpf.*'
50+
matchAny: true
51+
then:
52+
- addLabel:
53+
label: 'dotnet-desktop/svc'
54+
- addLabel:
55+
label: 'wpf/subsvc'
56+
57+
# .NET WinForms
58+
- if:
59+
- filesMatchPattern:
60+
pattern: '(?i).*dotnet-desktop-guide\/net\/winforms.*'
61+
matchAny: true
62+
then:
63+
- addLabel:
64+
label: 'dotnet-desktop/svc'
65+
- addLabel:
66+
label: 'winforms/subsvc'
67+
4268
onFailure:
4369
onSuccess:

0 commit comments

Comments
 (0)