From 6d5fb73fa4430613ca07cf0dce22cff4f1dbf642 Mon Sep 17 00:00:00 2001 From: zhikunyao Date: Mon, 4 Aug 2025 18:43:38 +0800 Subject: [PATCH] test: add rust to source code megrify rule (#43727) Signed-off-by: Zhikun Yao --- .github/mergify.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 3f791f6403..d200ee7828 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -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