Skip ci for .md files (#21482)
This commit is contained in:
@@ -139,21 +139,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
main_package:
|
main_package:
|
||||||
- "python/sglang/!(multimodal_gen)/**"
|
- "python/sglang/!(multimodal_gen)/**/!(*.md)"
|
||||||
- "python/pyproject_rocm.toml"
|
- "python/pyproject_rocm.toml"
|
||||||
- "python/pyproject_other.toml"
|
- "python/pyproject_other.toml"
|
||||||
- "scripts/ci/amd/*"
|
- "scripts/ci/amd/*"
|
||||||
- "scripts/ci/utils/*"
|
- "scripts/ci/utils/*"
|
||||||
- "test/**"
|
- "test/**/!(*.md)"
|
||||||
- ".github/workflows/pr-test-amd-rocm720.yml"
|
- ".github/workflows/pr-test-amd-rocm720.yml"
|
||||||
sgl_kernel:
|
sgl_kernel:
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**/*.!(md|txt)"
|
||||||
- ".github/workflows/pr-test-amd-rocm720.yml"
|
- ".github/workflows/pr-test-amd-rocm720.yml"
|
||||||
jit_kernel:
|
jit_kernel:
|
||||||
- "python/sglang/jit_kernel/**"
|
- "python/sglang/jit_kernel/**"
|
||||||
- ".github/workflows/pr-test-amd-rocm720.yml"
|
- ".github/workflows/pr-test-amd-rocm720.yml"
|
||||||
multimodal_gen:
|
multimodal_gen:
|
||||||
- "python/sglang/multimodal_gen/**"
|
- "python/sglang/multimodal_gen/**/*.!(md|ipynb)"
|
||||||
- "python/sglang/cli/**"
|
- "python/sglang/cli/**"
|
||||||
- "python/sglang/jit_kernel/diffusion/**"
|
- "python/sglang/jit_kernel/diffusion/**"
|
||||||
- "python/sglang/jit_kernel/tests/diffusion/**"
|
- "python/sglang/jit_kernel/tests/diffusion/**"
|
||||||
|
|||||||
@@ -137,21 +137,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
main_package:
|
main_package:
|
||||||
- "python/sglang/!(multimodal_gen)/**"
|
- "python/sglang/!(multimodal_gen)/**/!(*.md)"
|
||||||
- "python/pyproject_rocm.toml"
|
- "python/pyproject_rocm.toml"
|
||||||
- "python/pyproject_other.toml"
|
- "python/pyproject_other.toml"
|
||||||
- "scripts/ci/amd/*"
|
- "scripts/ci/amd/*"
|
||||||
- "scripts/ci/utils/*"
|
- "scripts/ci/utils/*"
|
||||||
- "test/**"
|
- "test/**/!(*.md)"
|
||||||
- ".github/workflows/pr-test-amd.yml"
|
- ".github/workflows/pr-test-amd.yml"
|
||||||
sgl_kernel:
|
sgl_kernel:
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**/*.!(md|txt)"
|
||||||
- ".github/workflows/pr-test-amd.yml"
|
- ".github/workflows/pr-test-amd.yml"
|
||||||
jit_kernel:
|
jit_kernel:
|
||||||
- "python/sglang/jit_kernel/**"
|
- "python/sglang/jit_kernel/**"
|
||||||
- ".github/workflows/pr-test-amd.yml"
|
- ".github/workflows/pr-test-amd.yml"
|
||||||
multimodal_gen:
|
multimodal_gen:
|
||||||
- "python/sglang/multimodal_gen/**"
|
- "python/sglang/multimodal_gen/**/*.!(md|ipynb)"
|
||||||
- "python/sglang/cli/**"
|
- "python/sglang/cli/**"
|
||||||
- "python/sglang/jit_kernel/diffusion/**"
|
- "python/sglang/jit_kernel/diffusion/**"
|
||||||
- "python/sglang/jit_kernel/tests/diffusion/**"
|
- "python/sglang/jit_kernel/tests/diffusion/**"
|
||||||
|
|||||||
@@ -57,13 +57,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
main_package:
|
main_package:
|
||||||
- "python/sglang/!(multimodal_gen)/**"
|
- "python/sglang/!(multimodal_gen)/**/!(*.md)"
|
||||||
- "python/pyproject_npu.toml"
|
- "python/pyproject_npu.toml"
|
||||||
- "scripts/ci/npu/npu_ci_install_dependency.sh"
|
- "scripts/ci/npu/npu_ci_install_dependency.sh"
|
||||||
- "test/srt/ascend/**"
|
- "test/srt/ascend/**"
|
||||||
- ".github/workflows/pr-test-npu.yml"
|
- ".github/workflows/pr-test-npu.yml"
|
||||||
multimodal_gen:
|
multimodal_gen:
|
||||||
- "python/sglang/multimodal_gen/**"
|
- "python/sglang/multimodal_gen/**/*.!(md|ipynb)"
|
||||||
- "python/sglang/srt/**"
|
- "python/sglang/srt/**"
|
||||||
- "python/pyproject_npu.toml"
|
- "python/pyproject_npu.toml"
|
||||||
- "scripts/ci/npu/npu_ci_install_dependency.sh"
|
- "scripts/ci/npu/npu_ci_install_dependency.sh"
|
||||||
|
|||||||
@@ -55,10 +55,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
main_package:
|
main_package:
|
||||||
- "python/sglang/!(multimodal_gen)/**"
|
- "python/sglang/!(multimodal_gen)/**/!(*.md)"
|
||||||
- "python/pyproject_cpu.toml"
|
- "python/pyproject_cpu.toml"
|
||||||
- "test/**"
|
- "test/**/!(*.md)"
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**/*.!(md|txt)"
|
||||||
- ".github/workflows/pr-test-xeon.yml"
|
- ".github/workflows/pr-test-xeon.yml"
|
||||||
- "docker/xeon.Dockerfile"
|
- "docker/xeon.Dockerfile"
|
||||||
|
|
||||||
|
|||||||
@@ -54,10 +54,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
main_package:
|
main_package:
|
||||||
- "python/sglang/!(multimodal_gen)/**"
|
- "python/sglang/!(multimodal_gen)/**/!(*.md)"
|
||||||
- "python/pyproject_xpu.toml"
|
- "python/pyproject_xpu.toml"
|
||||||
- "test/**"
|
- "test/**/!(*.md)"
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**/*.!(md|txt)"
|
||||||
- ".github/workflows/pr-test-xpu.yml"
|
- ".github/workflows/pr-test-xpu.yml"
|
||||||
- "docker/xpu.Dockerfile"
|
- "docker/xpu.Dockerfile"
|
||||||
|
|
||||||
|
|||||||
@@ -125,10 +125,10 @@ jobs:
|
|||||||
- ".github/workflows/pr-gate.yml"
|
- ".github/workflows/pr-gate.yml"
|
||||||
- ".github/actions/**"
|
- ".github/actions/**"
|
||||||
- "python/pyproject.toml"
|
- "python/pyproject.toml"
|
||||||
- "python/sglang/!(multimodal_gen)/**"
|
- "python/sglang/!(multimodal_gen)/**/!(*.md)"
|
||||||
- "scripts/ci/cuda/*"
|
- "scripts/ci/cuda/*"
|
||||||
- "scripts/ci/utils/*"
|
- "scripts/ci/utils/*"
|
||||||
- "test/**"
|
- "test/**/!(*.md)"
|
||||||
multimodal_gen:
|
multimodal_gen:
|
||||||
- ".github/workflows/pr-test.yml"
|
- ".github/workflows/pr-test.yml"
|
||||||
- ".github/workflows/pr-test-multimodal-gen.yml"
|
- ".github/workflows/pr-test-multimodal-gen.yml"
|
||||||
@@ -145,7 +145,7 @@ jobs:
|
|||||||
- "python/sglang/jit_kernel/**"
|
- "python/sglang/jit_kernel/**"
|
||||||
sgl_kernel:
|
sgl_kernel:
|
||||||
- ".github/workflows/pr-test-sgl-kernel.yml"
|
- ".github/workflows/pr-test-sgl-kernel.yml"
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**/*.!(md|txt)"
|
||||||
|
|
||||||
# For /rerun-stage (workflow_dispatch with target_stage), dorny/paths-filter doesn't work
|
# For /rerun-stage (workflow_dispatch with target_stage), dorny/paths-filter doesn't work
|
||||||
# correctly because it falls back to "last commit" detection which breaks for merge commits.
|
# correctly because it falls back to "last commit" detection which breaks for merge commits.
|
||||||
|
|||||||
Reference in New Issue
Block a user