-
Notifications
You must be signed in to change notification settings - Fork 25.3k
/
.repoman.yml
66 lines (51 loc) · 1.49 KB
/
.repoman.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
revision: 5
schema-version: 5
owner-ms-alias: adegeo
config:
DocMetadata:
Headers:
- ["---", "#### "]
ParserRegex: "^\\* (.*): (.*)$"
ContentUrlRegex:
- "### Page URL\n\n(.*)"
issues:
opened:
# New issue opened, add Not Triaged
- labels-add: [":watch: Not Triaged"]
# Try to detect an empty issue
- check:
- type: comment-body
value: "### Description[\\n\\r]+\\[Enter feedback here\\][\\n\\r]+###"
pass:
- labels-add: ["needs-more-info"]
- labels-remove: [":watch: Not Triaged"]
- close
# default for doc comment
- check:
- type: metadata-exists
pass:
- labels-add: ["Source - Docs.ms"]
- svc_subsvc_labels: true
# Add links to related issues if it's a doc issue
- check:
- type: metadata-exists
- type: variable-exists
name: "document_version_independent_id"
pass:
- link-related-issues
labeled:
# Temporary label to mark issues as updated for Quest. The label is instantly removed
- check:
- type: query
value: "length(Issue.Labels[?Name == 'mapQuest']) != `0`"
pass:
- labels-remove: ["mapQuest"]
projects_v2_item:
reordered:
- labels-add: ["mapQuest"]
edited:
- check:
- type: query
value: "EventPayload.changes.field_value.field_name == 'Priority' || EventPayload.changes.field_value.field_name == 'Size'"
pass:
- labels-add: ["mapQuest"]