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
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 Apr 30, 2024
1 parent 135167b commit 259ae1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches:
- master
- '2.2'
- "[0-9]+.[0-9]+"

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

0 comments on commit 259ae1d

Please sign in to comment.