1111jobs :
1212 build :
1313 if : >-
14+ github.event_name == 'push' ||
1415 github.event.action == 'opened' ||
1516 contains(github.event.pull_request.labels.*.name, 'run-ci')
1617 runs-on : ubuntu-22.04
@@ -119,6 +120,7 @@ jobs:
119120
120121 build-musa :
121122 if : >-
123+ github.event_name == 'push' ||
122124 github.event.action == 'opened' ||
123125 contains(github.event.pull_request.labels.*.name, 'run-ci')
124126 runs-on : ubuntu-22.04
@@ -244,11 +246,11 @@ jobs:
244246 source test_env/bin/activate
245247 python mooncake-transfer-engine/tests/rpc_communicator_test.py server --url 127.0.0.1:9004 --data-size 1 &
246248 SERVER_PID=$!
247- sleep 5
249+ sleep 5
248250 timeout 10 python mooncake-transfer-engine/tests/rpc_communicator_test.py client --url 127.0.0.1:9004 --threads 2 --data-size 1 || true
249251 kill $SERVER_PID 2>/dev/null || true
250252 wait $SERVER_PID 2>/dev/null || true
251-
253+
252254 - name : Test Mooncake EP Backend (CPU Only)
253255 run : |
254256 source test_env/bin/activate
@@ -313,6 +315,7 @@ jobs:
313315
314316 build-flags :
315317 if : >-
318+ github.event_name == 'push' ||
316319 github.event.action == 'opened' ||
317320 contains(github.event.pull_request.labels.*.name, 'run-ci')
318321 runs-on : ubuntu-22.04
@@ -465,6 +468,7 @@ jobs:
465468 build-docker :
466469 name : Build Docker Image
467470 if : >-
471+ github.event_name == 'push' ||
468472 github.event.action == 'opened' ||
469473 contains(github.event.pull_request.labels.*.name, 'run-ci')
470474 runs-on : ubuntu-22.04
@@ -480,6 +484,7 @@ jobs:
480484 spell-check :
481485 name : Spell Check with Typos
482486 if : >-
487+ github.event_name == 'push' ||
483488 github.event.action == 'opened' ||
484489 contains(github.event.pull_request.labels.*.name, 'run-ci')
485490 runs-on : ubuntu-22.04
@@ -492,6 +497,7 @@ jobs:
492497 clang-format :
493498 name : Check code format
494499 if : >-
500+ github.event_name == 'push' ||
495501 github.event.action == 'opened' ||
496502 contains(github.event.pull_request.labels.*.name, 'run-ci')
497503 runs-on : ubuntu-22.04
@@ -508,7 +514,7 @@ jobs:
508514
509515 - name : run clang-format-20
510516 run : |
511- # the old clang-format-14 which is the defaut version in ubuntu 22.04,
517+ # the old clang-format-14 which is the default version in ubuntu 22.04,
512518 # is inconsistent with clang-format-20.
513519 ls -lh /usr/bin/clang-format*
514520 clang-format --version
0 commit comments