-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add angular robot config file #21489
Conversation
.github/angular-robot.yml
Outdated
# {{MERGE_LABEL}} will be replaced by the value of the mergeLabel option | ||
# {{OVERRIDE_LABEL}} will be replaced by the value of the overrideLabel option | ||
# {{PLACEHOLDER}} will be replaced by the list of failing checks | ||
mergeRemovedComment: "I don't like to brag, but I just saved you from a horrible, slow and painful death by removing the `{{MERGE_LABEL}}` label. Probably. Maybe... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"saved you" -> "saved this PR"
.github/angular-robot.yml
Outdated
\nThe following checks are failing: | ||
\n{{PLACEHOLDER}} | ||
\n | ||
\nBut if you think that you know better than me, then please, go ahead, add the `{{OVERRIDE_LABEL}}` label and add an override justification comment for the caretaker. You'll be free to do whatever you want. Don't say that I didn't warn you." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are removing the override, please update this accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace with something like "Please resolve these issues to make it eligible for merging"
docs/TRIAGE_AND_LABELS.md
Outdated
@@ -114,7 +114,7 @@ Every triaged PR must have a `pr_action` label assigned to it: | |||
* `PR action: review` - work is complete and comment is needed from the reviewers. | |||
* `PR action: cleanup` - more work is needed from the author. | |||
* `PR action: discuss` - discussion is needed, to be led by the author. | |||
* `PR action: merge` - the PR is ready to be merged by the caretaker. | |||
* `PR action: merge` - the PR is ready to be merged by the caretaker. If the Angular Robot is removing this label, you can add the `override` label to bypass it. See [Special labels](#override) below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo
docs/TRIAGE_AND_LABELS.md
Outdated
@@ -160,3 +160,6 @@ Only issues with `cla:yes` should be merged into master. | |||
|
|||
### `aio: preview` | |||
Applying this label to a PR makes the angular.io preview available regardless of the author. [More info](../aio/aio-builds-setup/docs/overview--security-model.md) | |||
|
|||
### `override` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo
.github/angular-robot.yml
Outdated
failureText: "The following checks are failing:" | ||
|
||
# comment that will be added to a PR when there is a conflict, leave empty or set to false to disable | ||
mergeConflictComment: "Hello? Don't want to hassle you. Sure you're busy. But--this PR has some conflicts that you probably ought to resolve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"But--this" -> "But this"
.github/angular-robot.yml
Outdated
failureText: "The following checks are failing:" | ||
|
||
# comment that will be added to a PR when there is a conflict, leave empty or set to false to disable | ||
mergeConflictComment: "Hello? Don't want to hassle you. Sure you're busy. But--this PR has some conflicts that you probably ought to resolve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conflicts -> merge conflicts
.github/angular-robot.yml
Outdated
|
||
# the comment that will be added when the merge label is removed, leave empty or set to false to disable | ||
# {{MERGE_LABEL}} will be replaced by the value of the mergeLabel option | ||
# {{OVERRIDE_LABEL}} will be replaced by the value of the overrideLabel option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
17ca280
to
f2cea26
Compare
Ok PR updated! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few small changes, otherwise lgtm
.github/angular-robot.yml
Outdated
failureText: "The following checks are failing:" | ||
|
||
# comment that will be added to a PR when there is a conflict, leave empty or set to false to disable | ||
mergeConflictComment: "Hello? Don't want to hassle you. Sure you're busy. But this PR has some conflicts that you probably ought to resolve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"conflicts" => "merge conflicts"
.github/angular-robot.yml
Outdated
mergeRemovedComment: "I see that you just added the `{{MERGE_LABEL}}` label. It won't do anything good though, because the following checks are still failing: | ||
\n{{PLACEHOLDER}} | ||
\n | ||
\nIf you want your PR to be merged, it has to pass all the checks. But if you have a good reason to want to merge this, please contact the caretaker to let them know." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"If you want your PR to be merged, it has to pass all the checks. If you can't get the PR green due to flakes, please try 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."
f2cea26
to
c7f79d0
Compare
I see that you just added the
If you want your PR to be merged, it has to pass all the checks. But if you have a good reason to want to merge this, please contact the caretaker to let them know. |
I fixed the issued and forcepushed into this branch |
I see that you just added the
If you want your PR to be merged, it has to pass all the checks. But if you have a good reason to want to merge this, please contact the caretaker to let them know. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Type
What kind of change does this PR introduce?
What is the current behavior?
No config file for the Angular Robot
What is the new behavior?
Config file for the Angular Robot
Does this PR introduce a breaking change?