diff --git a/.github/angular-robot.yml b/.github/angular-robot.yml index 5df1273332..06b22363e0 100644 --- a/.github/angular-robot.yml +++ b/.github/angular-robot.yml @@ -73,8 +73,7 @@ merge: - "packages/zone.js/scripts/**" # 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!" + 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: "action: merge" @@ -121,12 +120,7 @@ merge: # 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." + 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: diff --git a/.ng-dev/caretaker.ts b/.ng-dev/caretaker.ts new file mode 100644 index 0000000000..e846117ea0 --- /dev/null +++ b/.ng-dev/caretaker.ts @@ -0,0 +1,19 @@ +import {CaretakerConfig} from '../dev-infra/caretaker/config'; + +/** The configuration for `ng-dev caretaker` commands. */ +export const caretaker: CaretakerConfig = { + githubQueries: [ + { + name: 'Merge Queue', + query: `is:pr is:open status:success label:"action: merge"`, + }, + { + name: 'Merge Assistance Queue', + query: `is:pr is:open status:success label:"action: merge-assistance"`, + }, + { + name: 'Primary Triage Queue', + query: `is:open is:issue no:milestone`, + } + ] +}; diff --git a/.ng-dev/config.ts b/.ng-dev/config.ts index c620e02b73..573b9f1847 100644 --- a/.ng-dev/config.ts +++ b/.ng-dev/config.ts @@ -1,3 +1,4 @@ +import {caretaker} from './caretaker'; import {commitMessage} from './commit-message'; import {format} from './format'; import {github} from './github'; @@ -8,4 +9,5 @@ module.exports = { format, github, merge, + caretaker, };