Skip to content

Commit

Permalink
enhance: Make proto check action works for all release branches (milv…
Browse files Browse the repository at this point in the history
…us-io#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 <[email protected]>
  • Loading branch information
congqixia committed May 9, 2024
1 parent fb71645 commit ce45819
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
pull_request:
branches:
- master
- '2.2'
- '2.4'
- "[0-9]+.[0-9]+"

jobs:
build:
Expand Down Expand Up @@ -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
python -m grpc_tools.protoc -I ./proto --python_out=./ --grpc_python_out=./ ./proto/milvus.proto

0 comments on commit ce45819

Please sign in to comment.