forked from dotnet/docs-maui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.repoman.yml
66 lines (48 loc) · 1.86 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: 1
schema-version: 1
owner-ms-alias: adegeo
config:
DocMetadata:
Headers:
- ["---", "#### "]
ParserRegex: "^\\* (.*): (.*)$"
issues:
unlabeled: "labeled"
labeled:
# Handle issues with /prod /tech labels from label bot
# Manages the Not Triaged label for issues missing/having an org category issue
- check:
- type: query
value: "length(Issue.labels[?contains(name, '/prod') || contains(name, '/tech')]) != `0`"
pass:
- check:
- type: query
value: "length(Issue.labels[?name == 'doc-enhancement' || name == 'product-question' || name == 'in-progress' || name == 'test-issue' || name == 'kudos' || name == 'loc' || name == 'doc-bug' || name == 'product-feedback' || name == 'code-of-conduct' || name == 'support-request' || name == 'duplicate' || name == 'resolved-by-customer' || name == 'docs-experience' || name == 'doc-provided' || name == 'doc-idea' || name == 'needs-more-info']) != `0`"
pass:
- labels-remove: [":watch: Not Triaged"]
fail:
- labels-add: [":watch: Not Triaged"]
opened:
# New issue opened, add Not Triaged
- labels-add: [":watch: Not Triaged"]
reopened:
# Remove won't fix label
- labels-remove: ["won't fix"]
closed:
# Issue closed, remove in-progress and not triaged labels
- labels-remove: ["in-progress", ":watch: Not Triaged"]
pull_request:
reopened: opened
opened:
# Set default sprint for new PRs
#- milestone-set: "![sprint]"
issue_comment:
created:
# someone creates a comment with #please-review in it, add changes-addressed label
- check:
- type: query
value: "Issue.state == 'open' && Issue.user.id == Comment.user.id"
- type: comment-body
value: ^#please-review$
pass:
- labels-add: ["changes-addressed"]