Skip to content

Commit ddb443a

Browse files
josephperrottmmalerba
authored andcommitted
chore: set up angular-robot for repo (#10840)
1 parent c9f5be6 commit ddb443a

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

.github/angular-robot.yaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+
# the g3 status will be added to your pull requests if they include files that match the patterns
17+
g3Status:
18+
# set to true to disable
19+
disabled: true
20+
21+
# comment that will be added to a PR when there is a conflict, leave empty or set to false to disable
22+
mergeConflictComment: "Hi @{{PRAuthor}}! This PR has merge conflicts due to recent upstream merges.
23+
\nPlease help to unblock it by resolving these conflicts. Thanks!"
24+
25+
# label to monitor
26+
mergeLabel: "pr: merge ready"
27+
28+
# list of checks that will determine if the merge label can be added
29+
checks:
30+
# whether the PR shouldn't have a conflict with the base branch
31+
noConflict: true
32+
# 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")
33+
requiredLabels:
34+
- "release: *"
35+
- "cla: yes"
36+
37+
# list of labels that a PR shouldn't have, checked after the required labels with a regexp
38+
forbiddenLabels:
39+
- "blocked"
40+
- "pr: blocked"
41+
- "pr: needs*"
42+
- "presubmit failures"
43+
- "cla: no"
44+
45+
# list of PR statuses that need to be successful
46+
requiredStatuses:
47+
- "continuous-integration/travis-ci/pr"
48+
- "ci/circleci: build"
49+
50+
# the comment that will be added when the merge label is added despite failing checks, leave empty or set to false to disable
51+
# {{MERGE_LABEL}} will be replaced by the value of the mergeLabel option
52+
# {{PLACEHOLDER}} will be replaced by the list of failing checks
53+
mergeRemovedComment: "I see that you just added the `{{MERGE_LABEL}}` label, but the following checks are still failing:
54+
\n{{PLACEHOLDER}}
55+
\n
56+
\n**If you want your PR to be merged, it has to pass all the CI checks.**
57+
\n
58+
\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."
59+
60+
# options for the triage plugin
61+
triage:
62+
disabled: true

0 commit comments

Comments
 (0)