Skip to content

Commit

Permalink
enhance: Make proto check action works for all release branches (#282) (
Browse files Browse the repository at this point in the history
#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 <[email protected]>
  • Loading branch information
congqixia authored Nov 5, 2024
1 parent ab890f9 commit 28173b9
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 28173b9

Please sign in to comment.