test: add rust to source code megrify rule (#43727)

Signed-off-by: Zhikun Yao <zhikun.yao@zilliz.com>
This commit is contained in:
zhikunyao 2025-08-04 18:43:38 +08:00 committed by GitHub
parent c1638afd3f
commit 6d5fb73fa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
.github/mergify.yml vendored
View File

@ -9,8 +9,8 @@
# ==============================================================================
misc:
# File pattern matchers
- &source_code_files files~=^(?=.*((\.(go|h|cpp)|go.sum|go.mod|CMakeLists.txt|conanfile\.*))).*$
- &no_source_code_files -files~=^(?=.*((\.(go|h|cpp)|go.sum|go.mod|CMakeLists.txt|conanfile\.*))).*$
- &source_code_files files~=^(?=.*((\.(rs|go|h|cpp)|go.sum|go.mod|CMakeLists.txt|conanfile\.*))).*$
- &no_source_code_files -files~=^(?=.*((\.(rs|go|h|cpp)|go.sum|go.mod|CMakeLists.txt|conanfile\.*))).*$
- &only_go_unittest_files -files~=^(?!(client|internal|pkg|tests)\/.*_test\.go).*$
- &morethan_go_unittest_files files~=^(?!(client|internal|pkg|tests)\/.*_test\.go).*$
@ -146,7 +146,7 @@ pull_request_rules:
add:
- ci-passed
- name: Test passed for non go or c++ code changed
- name: Test passed for non rust go or c++ code changed
conditions:
- or: *BRANCHES
- or: *WHEN_E2E_TEST_SUCCESS