From f2cdcc7d096d86db4b63bca1a24efce722df652c Mon Sep 17 00:00:00 2001 From: Congqi Xia Date: Mon, 29 Apr 2024 11:43:10 +0800 Subject: [PATCH] enhance: Make proto check action works for all release branches 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 7590ded..aa0089f 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -4,7 +4,7 @@ on: pull_request: branches: - master - - '2.2' + - "[0-9]+.[0-9]+" jobs: build: @@ -33,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