From 7bda351e58e0abe5e52581af7b8004871602e4e4 Mon Sep 17 00:00:00 2001 From: Jenny Li Date: Wed, 16 Feb 2022 16:02:19 +0800 Subject: [PATCH] [skip e2e]Add commit check Signed-off-by: Jenny Li --- .github/mergify.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 8f06881e25539..6ea912bf2c163 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -180,4 +180,19 @@ pull_request_rules: actions: comment: message: | - @{{author}} ut workflow job failed, comment `rerun ut` can trigger the job again. \ No newline at end of file + @{{author}} ut workflow job failed, comment `rerun ut` can trigger the job again. + + + + + - name: Add rebase label when commits is more than 1 + conditions: + - base=master + - "#commits>1" + actions: + comment: + message: | + @{{author}}, please be sure the pr should only have one commit, check https://github.com/milvus-io/milvus/blob/master/CODE_REVIEW.md for more details. + label: + add: + - needs-rebase \ No newline at end of file