Fix mergify rules for unit test file changed under pkg folder (#26882)

See #26865
 for only unit test file changed
removed due to exclude rule only apply to _test.go under internal/

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/26887/head
congqixia 2023-09-06 18:33:14 +08:00 committed by GitHub
parent 4a2377e669
commit 0844e19505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
.github/mergify.yml vendored
View File

@ -109,7 +109,7 @@ pull_request_rules:
- 'status-success=Code Checker Amazonlinux 2023'
- 'status-success=UT for Go (20.04)'
- or:
- -files~=^(?!pkg\/..*test\.go).*$
- -files~=^(?!pkg\/.*_test\.go).*$
- -files~=^(?!internal\/.*_test\.go).*$
actions:
label:
@ -306,7 +306,7 @@ pull_request_rules:
- base=sql_beta
- base~=^2(\.\d+){2}$
- -title~=\[skip e2e\]
- files~=^(?!(internal\/.*_test\.go|.*\.md)).*$
- files~=^(?!(.*_test\.go|.*\.md)).*$
- 'status-success!=cpu-e2e'
actions:
label: