1- id : pullRequestManagement.serviceLabels
2- name : GitOps.PullRequestServiceLabels
3- description : Checks the files touched by a pull request and assigns area labels.
1+ id : pullRequestManagement.labelFiles
2+ name : GitOps.PullRequestLabelFiles
3+ description : Checks the files touched by a pull request and assigns a reviewer
44owner :
55resource : repository
66disabled : false
77where :
88configuration :
99 resourceManagementConfiguration :
1010 eventResponderTasks :
11- - description : Add labels to PRs that touch certain files
11+ - description : Modify PRs that touch certain files
1212 triggerOnOwnActions : false
1313 if :
1414 - payloadType : Pull_Request
@@ -21,49 +21,36 @@ configuration:
2121 targetsBranch :
2222 branch : live
2323 then :
24- # Framework WPF
2524 - if :
26- - filesMatchPattern :
27- pattern : ' (?i).*dotnet-desktop-guide\/framework\/wpf.* '
28- matchAny : true
25+ - filesMatchPattern :
26+ matchAny : true
27+ pattern : (?i).*/blazor/hybrid/.*
2928 then :
30- - addLabel :
31- label : ' dotnet-framework/svc'
32- - addLabel :
33- label : ' wpf/subsvc'
34-
35- # Framework WinForms
29+ - requestReviewer :
30+ reviewer : guardrex
31+ - addLabel :
32+ label : blazor-hybrid/subsvc
3633 - if :
34+ - or :
3735 - filesMatchPattern :
38- pattern : ' (?i).*dotnet-desktop-guide\/framework\/winforms.*'
3936 matchAny : true
40- then :
41- - addLabel :
42- label : ' dotnet-framework/svc'
43- - addLabel :
44- label : ' winforms/subsvc'
45-
46- # .NET WPF
47- - if :
37+ pattern : (?i).*/blazor/.*
4838 - filesMatchPattern :
49- pattern : ' (?i).*dotnet-desktop-guide\/net\/wpf.*'
5039 matchAny : true
51- then :
52- - addLabel :
53- label : ' dotnet-desktop/svc'
54- - addLabel :
55- label : ' wpf/subsvc'
56-
57- # .NET WinForms
58- - if :
40+ pattern : (?i).*/client-side/dotnet-interop/index.md
41+ - filesMatchPattern :
42+ matchAny : true
43+ pattern : (?i).*/client-side/dotnet-interop/wasm-browser-app.md
44+ - filesMatchPattern :
45+ matchAny : true
46+ pattern : (?i).*/mvc/views/tag-helpers/built-in/component-tag-helper.md
5947 - filesMatchPattern :
60- pattern : ' (?i).*dotnet-desktop-guide\/net\/winforms.*'
6148 matchAny : true
49+ pattern : (?i).*/mvc/views/tag-helpers/built-in/persist-component-state.md
6250 then :
63- - addLabel :
64- label : ' dotnet-desktop/svc'
65- - addLabel :
66- label : ' winforms/subsvc'
67-
51+ - requestReviewer :
52+ reviewer : guardrex
53+ - addLabel :
54+ label : blazor/subsvc
6855onFailure :
6956onSuccess :
0 commit comments