Skip to content

Conversation

wuhuizuo
Copy link
Contributor

@wuhuizuo wuhuizuo commented Sep 4, 2023

Signed-off-by: wuhuizuo [email protected]

What problem does this PR solve?

Problem Summary: blocking merging when pull request has none test tasks checked.

What is changed and how it works?

What's Changed:

  • add pull request format check rule on description for pingcap/tidb.
  • add label do-not-merge/needs-tests-checked for pingcap/tidb.
  • blocking merging when pull quest owned the do-not-merge/needs-tests-checked label

How it Works:

Check pull request description with format check external plugin.

@ti-chi-bot ti-chi-bot bot requested a review from purelind September 4, 2023 09:18
@ti-chi-bot ti-chi-bot bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 4, 2023
@wuhuizuo
Copy link
Contributor Author

wuhuizuo commented Sep 4, 2023

Tested with regex101.com: link

image

@wuhuizuo wuhuizuo force-pushed the feature/add-pr-description-checker-for-test-tasks branch from 95197d5 to 5df2dfe Compare September 4, 2023 09:21
Copy link

@bb7133 bb7133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@purelind purelind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ti-chi-bot ti-chi-bot bot added the lgtm label Sep 5, 2023
@ti-chi-bot
Copy link

ti-chi-bot bot commented Sep 5, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-09-05 11:14:22.736185243 +0000 UTC m=+2444027.285201231: ☑️ agreed by purelind.

@ti-chi-bot
Copy link

ti-chi-bot bot commented Sep 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bb7133, purelind

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Sep 5, 2023
@ti-chi-bot ti-chi-bot bot merged commit 7ce0a2d into main Sep 5, 2023
@ti-chi-bot ti-chi-bot bot deleted the feature/add-pr-description-checker-for-test-tasks branch September 5, 2023 11:15
wuhuizuo added a commit that referenced this pull request Sep 5, 2023
…ve none finished test tasks (#953)"

This reverts commit 7ce0a2d.
@wuhuizuo
Copy link
Contributor Author

wuhuizuo commented Sep 6, 2023

fixed in #959

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants