Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions prow/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2398,6 +2398,7 @@ tide:
- do-not-merge/invalid-owners-file
- do-not-merge/invalid-title
- do-not-merge/needs-linked-issue
- do-not-merge/needs-tests-checked
- do-not-merge/needs-triage-completed
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
Expand Down
18 changes: 18 additions & 0 deletions prow/config/external_plugins_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,24 @@ ti-community-format-checker:
<sub>:open_book: For more info, you can check the ["Contribute Code"](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/contribute-code.html#referring-to-an-issue) section in the development guide.</sub>
missing_label: do-not-merge/needs-linked-issue
skip_label: skip-issue-check
- pull_request: true
body: true
branches: [master]
regexp: "\\\\n\\\\bTests <!-- At least one of them must be included\\\\. -->\\\\s*[\\\\n]{1,}(- \\\\[[xX ]\\\\] .*\\\\n)*(- \\\\[[xX]\\\\] .*\\\\n)(- \\\\[[xX ]\\\\] .*\\\\n)*\\\\n"
missing_label: do-not-merge/needs-tests-checked
missing_message: |
**Notice**: To remove the `do-not-merge/needs-tests-checked` label, please finished the test for the pull request and check the finished items in description.

For example:

> Tests <!-- At least one of them must be included. -->
>
> - [x] Unit test
> - [ ] Integration test
> - [ ] Manual test (add detailed scripts or steps below)
> - [ ] No code

<sub>:open_book: For more info, you can check the ["Contribute Code"](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/contribute-code.html#writing-tests) section in the development guide.</sub>
- repos:
- pingcap/tidb-tools
- pingcap/tidb-binlog
Expand Down
1 change: 1 addition & 0 deletions prow/config/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ larger set of contributors to apply/remove them.
| Name | Description | Added By | Prow Plugin |
| ---- | ----------- | -------- | --- |
| <a id="do-not-merge/invalid-title" href="#do-not-merge/invalid-title">`do-not-merge/invalid-title`</a> | | | |
| <a id="do-not-merge/needs-tests-checked" href="#do-not-merge/needs-tests-checked">`do-not-merge/needs-tests-checked`</a> | | | |
| <a id="do-not-merge/release-note-label-needed" href="#do-not-merge/release-note-label-needed">`do-not-merge/release-note-label-needed`</a> | Indicates that a PR should not merge because it's missing one of the release note labels.| prow | [release-note](https://book.prow.tidb.net/#/en/plugins) |

## Labels that apply to pingcap/tiflow, for both issues and PRs
Expand Down
3 changes: 3 additions & 0 deletions prow/config/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2794,6 +2794,9 @@ repos:
- name: do-not-merge/needs-linked-issue
color: "e11d21"
target: both
- name: do-not-merge/needs-tests-checked
color: "e11d21"
target: prs
- name: do-not-merge/invalid-title
color: "e11d21"
target: prs
Expand Down