From 28173b96b5e7ec03fe4fb6a21e2a75b33eac7eab Mon Sep 17 00:00:00 2001 From: congqixia Date: Tue, 5 Nov 2024 10:38:17 +0800 Subject: [PATCH] enhance: Make proto check action works for all release branches (#282) (#285) 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