From ddb443aba63c971e03ef422c9b4ceb39c088270c Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Mon, 16 Apr 2018 11:52:32 -0700 Subject: [PATCH] chore: set up angular-robot for repo (#10840) --- .github/angular-robot.yaml | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .github/angular-robot.yaml diff --git a/.github/angular-robot.yaml b/.github/angular-robot.yaml new file mode 100644 index 00000000000..0550890abff --- /dev/null +++ b/.github/angular-robot.yaml @@ -0,0 +1,62 @@ +# Configuration for angular-robot + +# options for the merge plugin +merge: + # the status will be added to your pull requests + status: + # set to true to disable + disabled: false + # the name of the status + context: "ci/angular: merge status" + # text to show when all checks pass + successText: "All checks passed!" + # text to show when some checks are failing + failureText: "The following checks are failing:" + + # the g3 status will be added to your pull requests if they include files that match the patterns + g3Status: + # set to true to disable + disabled: true + + # comment that will be added to a PR when there is a conflict, leave empty or set to false to disable + mergeConflictComment: "Hi @{{PRAuthor}}! This PR has merge conflicts due to recent upstream merges. +\nPlease help to unblock it by resolving these conflicts. Thanks!" + + # label to monitor + mergeLabel: "pr: merge ready" + + # list of checks that will determine if the merge label can be added + checks: + # whether the PR shouldn't have a conflict with the base branch + noConflict: true + # 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") + requiredLabels: + - "release: *" + - "cla: yes" + + # list of labels that a PR shouldn't have, checked after the required labels with a regexp + forbiddenLabels: + - "blocked" + - "pr: blocked" + - "pr: needs*" + - "presubmit failures" + - "cla: no" + + # list of PR statuses that need to be successful + requiredStatuses: + - "continuous-integration/travis-ci/pr" + - "ci/circleci: build" + + # the comment that will be added when the merge label is added despite failing checks, leave empty or set to false to disable + # {{MERGE_LABEL}} will be replaced by the value of the mergeLabel option + # {{PLACEHOLDER}} will be replaced by the list of failing checks + mergeRemovedComment: "I see that you just added the `{{MERGE_LABEL}}` label, but the following checks are still failing: +\n{{PLACEHOLDER}} +\n +\n**If you want your PR to be merged, it has to pass all the CI checks.** +\n +\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." + +# options for the triage plugin +triage: + disabled: true \ No newline at end of file