forked from microsoft/azure-pipelines-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
issue-rules.yml
110 lines (107 loc) · 2.84 KB
/
issue-rules.yml
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
# primary rules
rules:
# Area: AppCenter
- valueFor: '**Enter Task Name**'
contains: 'AppCenter'
addLabels: ['Area: AppCenter']
# Area: Artifacts
- valueFor: '**Enter Task Name**'
contains: 'Nuget'
addLabels: ['Area: Artifacts']
- valueFor: '**Enter Task Name**'
contains: 'Npm'
addLabels: ['Area: Artifacts']
# Area: Build
- valueFor: '**Enter Task Name**'
contains: 'VSBuild'
addLabels: ['Area: Build']
- valueFor: '**Enter Task Name**'
contains: 'MSBuild'
addLabels: ['Area: Build']
# Area: Core
- valueFor: '**Enter Task Name**'
contains: 'Bash'
addLabels: ['Area: Core']
assign: ['bryanmacfarlane']
- valueFor: '**Enter Task Name**'
contains: 'CmdLine'
addLabels: ['Area: Core']
assign: ['ericsciple']
- valueFor: '**Enter Task Name**'
contains: 'PowerShellV2'
addLabels: ['Area: Core']
assign: ['ericsciple']
# Area: CrossPlatform
- valueFor: '**Enter Task Name**'
contains: 'Android'
addLabels: ['Area: CrossPlatform']
assign: ['madhurig']
- valueFor: '**Enter Task Name**'
contains: 'Gradle'
addLabels: ['Area: CrossPlatform']
assign: ['madhurig']
- valueFor: '**Enter Task Name**'
contains: 'Python'
addLabels: ['Area: CrossPlatform']
assign: ['madhurig']
- valueFor: '**Enter Task Name**'
contains: 'PyPI'
addLabels: ['Area: CrossPlatform']
assign: ['madhurig']
- valueFor: '**Enter Task Name**'
contains: 'XCode'
addLabels: ['Area: CrossPlatform']
assign: ['madhurig']
- valueFor: '**Enter Task Name**'
contains: 'Xamarin'
addLabels: ['Area: CrossPlatform']
assign: ['madhurig']
# Area: Release
- valueFor: '**Enter Task Name**'
contains: 'Azure'
addLabels: ['Area: Release']
- valueFor: '**Enter Task Name**'
contains: 'Docker'
addLabels: ['Area: Release']
- valueFor: '**Enter Task Name**'
contains: 'Packer'
addLabels: ['Area: Release']
- valueFor: '**Enter Task Name**'
contains: 'IISWeb'
addLabels: ['Area: Release']
# Area: Test
- valueFor: '**Enter Task Name**'
contains: 'VSTest'
addLabels: ['Area: Test']
- valueFor: '**Enter Task Name**'
contains: 'PublishTest'
addLabels: ['Area: Test']
# Types
- valueFor: '*Type*'
contains: Feature
addLabels: ['enhancement']
- valueFor: '*Type*'
contains: Bug
addLabels: ['bug']
- valueFor: '*Type*'
contains: Question
addLabels: ['question']
# runs if first set had no matches
# add likely teams to look at based on text searches
nomatches:
- contains: 'Xcode'
addLabels: ['Area: Cross Platform']
- contains: 'Bash'
addLabels: ['Area: Core']
- contains: 'Nuget'
addLabels: ['Area: Artifacts']
- contains: 'Npm'
addLabels: ['Area: Artifacts']
- contains: 'Docker'
addLabels: ['Area: Release']
# always runs after rules. look for missing or invalid sets of tags
tags:
- noneIn: ['bug', 'enhancement', 'question']
addLabels: ['triage']
- noneMatch: '\s*Area:\s*([^]*)'
addLabels: ['route']