Skip to content

Commit 8f1f31f

Browse files
committed
build: add configuration for github bot (#11849)
1 parent 3a5fd2d commit 8f1f31f

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

.github/angular-robot.yml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Configuration for angular-robot
2+
3+
# options for the merge plugin
4+
merge:
5+
# the status will be added to your pull requests
6+
status:
7+
# set to true to disable
8+
disabled: false
9+
# the name of the status
10+
context: "ci/angular: merge status"
11+
# text to show when all checks pass
12+
successText: "All checks passed!"
13+
# text to show when some checks are failing
14+
failureText: "The following checks are failing:"
15+
16+
# comment that will be added to a PR when there is a conflict, leave empty or set to false to disable
17+
mergeConflictComment: "Hi @{{PRAuthor}}! This PR has merge conflicts due to recent upstream merges.
18+
\nPlease help to unblock it by resolving these conflicts. Thanks!"
19+
20+
# label to monitor
21+
mergeLabel: "PR action: merge"
22+
23+
# list of checks that will determine if the merge label can be added
24+
checks:
25+
# whether the PR shouldn't have a conflict with the base branch
26+
noConflict: true
27+
# whether the PR should have all reviews completed.
28+
requireReviews: true
29+
# list of labels that a PR needs to have, checked with a regexp (e.g. "PR target:" will work for the label "PR target: master")
30+
requiredLabels:
31+
- "PR target: *"
32+
- "cla: yes"
33+
34+
# list of labels that a PR shouldn't have, checked after the required labels with a regexp
35+
forbiddenLabels:
36+
- "PR target: TBD"
37+
- "PR action: cleanup"
38+
- "PR action: review"
39+
- "PR state: blocked"
40+
- "cla: no"
41+
42+
# list of PR statuses that need to be successful
43+
requiredStatuses:
44+
- "continuous-integration/appveyor/pr"
45+
- "ci/circleci: build"
46+
- "ci/circleci: build-bazel"
47+
- "ci/circleci: install"
48+
- "ci/circleci: lint"
49+
- "ci/circleci: validate"
50+
- "ci/circleci: test"
51+
- "ci/circleci: test-large"
52+
53+
# the comment that will be added when the merge label is added despite failing checks, leave empty or set to false to disable
54+
# {{MERGE_LABEL}} will be replaced by the value of the mergeLabel option
55+
# {{PLACEHOLDER}} will be replaced by the list of failing checks
56+
mergeRemovedComment: "I see that you just added the `{{MERGE_LABEL}}` label, but the following checks are still failing:
57+
\n{{PLACEHOLDER}}
58+
\n
59+
\n**If you want your PR to be merged, it has to pass all the CI checks.**
60+
\n
61+
\nIf you can't get the PR to a green state due to flakes or broken master, please try rebasing to master and/or restarting the CI job. If that fails and you believe that the issue is not due to your change, please contact the caretaker and ask for help."
62+
63+
# options for the triage plugin
64+
triage:
65+
# set to true to disable
66+
disabled: false
67+
# number of the milestone to apply when the issue has not been triaged yet
68+
needsTriageMilestone: 11,
69+
# number of the milestone to apply when the issue is triaged
70+
defaultMilestone: 12,
71+
# arrays of labels that determine if an issue has been triaged by the caretaker
72+
l1TriageLabels:
73+
-
74+
- "comp: *"
75+
# arrays of labels that determine if an issue has been fully triaged
76+
l2TriageLabels:
77+
-
78+
- "type: bug/fix"
79+
- "severity*"
80+
- "freq*"
81+
- "comp: *"
82+
-
83+
- "type: feature"
84+
- "comp: *"
85+
-
86+
- "type: refactor"
87+
- "comp: *"
88+
-
89+
- "type: RFC / Discussion / question"
90+
- "comp: *"

0 commit comments

Comments
 (0)