From ce4581903ba36007b32a3ba2a4bae895fba7fa51 Mon Sep 17 00:00:00 2001 From: congqixia Date: Tue, 30 Apr 2024 11:55:21 +0800 Subject: [PATCH] enhance: Make proto check action works for all release branches (#282) Use regexp to match all release branches so that all PRs for release branches can have `ci-passed` automatically. Signed-off-by: Congqi Xia --- .github/workflows/check.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index cceba5f..aa0089f 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -4,8 +4,7 @@ on: pull_request: branches: - master - - '2.2' - - '2.4' + - "[0-9]+.[0-9]+" jobs: build: @@ -34,4 +33,4 @@ jobs: run: | python -m grpc_tools.protoc -I ./proto --python_out=./ ./proto/common.proto python -m grpc_tools.protoc -I ./proto --python_out=./ ./proto/schema.proto - python -m grpc_tools.protoc -I ./proto --python_out=./ --grpc_python_out=./ ./proto/milvus.proto \ No newline at end of file + python -m grpc_tools.protoc -I ./proto --python_out=./ --grpc_python_out=./ ./proto/milvus.proto