forked from dotnet/docs-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ghal.rules.json
87 lines (86 loc) · 2.63 KB
/
.ghal.rules.json
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
{
"version": 3,
"configRevision": 2,
"issue": {
"opened": {
"processor-default": {
"labels-add": [ ":watch: Not Triaged" ]
},
"processor-meta-docs": {
"technology": {
"(?i)dotnet-wpf$": {
"labels-add": ":card_file_box: Technology - WPF"
},
"(?i)dotnet-winforms$": {
"labels-add": ":card_file_box: Technology - WinForms"
}
},
"contentsource": {
"(?i).*dotnet-desktop-guide\/framework\/wpf.*": {
"labels-add": ":books: Area - .NET Framework,:card_file_box: Technology - WPF"
},
"(?i).*dotnet-desktop-guide\/framework\/winforms.*": {
"labels-add": ":books: Area - .NET Framework,:card_file_box: Technology - WinForms"
},
"(?i).*dotnet-desktop-guide\/net\/wpf.*": {
"labels-add": ":books: Area - .NET,:card_file_box: Technology - WPF"
},
"(?i).*dotnet-desktop-guide\/net\/winforms.*": {
"labels-add": ":books: Area - .NET,:card_file_box: Technology - WinForms"
}
}
}
},
"closed": {
"processor-default": {
"labels-remove": "in-progress"
}
}
},
"pullrequest": {
"opened": {
"processor-default": {
"milestone-set": "![sprint]"
},
"processor-conditional": {
"type": "query",
"value": "PullRequest.base.ref != 'live'",
"processors": {
"processor-files": {
"changedfile": {
"(?i).*dotnet-desktop-guide\/framework\/wpf.*": {
"labels-add": ":books: Area - .NET Framework,:card_file_box: Technology - WPF"
},
"(?i).*dotnet-desktop-guide\/framework\/winforms.*": {
"labels-add": ":books: Area - .NET Framework,:card_file_box: Technology - WinForms"
},
"(?i).*dotnet-desktop-guide\/net\/wpf.*": {
"labels-add": ":books: Area - .NET,:card_file_box: Technology - WPF"
},
"(?i).*dotnet-desktop-guide\/net\/winforms.*": {
"labels-add": ":books: Area - .NET,:card_file_box: Technology - WinForms"
}
}
}
}
}
}
},
"comment": {
"created": {
"processor-comment": {
"body": {
"^#please-review$": {
"condition-1": {
"type": "query",
"value": "Issue.state == 'open' && Issue.user.id == Comment.user.id",
"actions": {
"labels-add": "changes-addressed"
}
}
}
}
}
}
}
}