[CI] Fix the trigger condition for PR test workflows (#9761)

This commit is contained in:
Lianmin Zheng
2025-08-30 15:47:10 -07:00
committed by GitHub
parent 1e61b4960f
commit 05e4787243
4 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ on:
branches: [ main ]
paths:
- "python/**"
- "scripts/**"
- "scripts/ci/**"
- "test/**"
- "sgl-kernel/**"
- ".github/workflows/pr-test-amd.yml"
@@ -13,7 +13,7 @@ on:
branches: [ main ]
paths:
- "python/**"
- "scripts/**"
- "scripts/ci/**"
- "test/**"
- "sgl-kernel/**"
- ".github/workflows/pr-test-amd.yml"

View File

@@ -5,14 +5,14 @@ on:
branches: [ main ]
paths:
- "python/**"
- "scripts/**"
- "scripts/ci/**"
- "test/**"
- ".github/workflows/pr-test-npu.yml"
pull_request:
branches: [ main ]
paths:
- "python/**"
- "scripts/**"
- "scripts/ci/**"
- "test/**"
- ".github/workflows/pr-test-npu.yml"
workflow_dispatch:

View File

@@ -5,7 +5,7 @@ on:
branches: [ main ]
paths:
- "python/**"
- "scripts/**"
- "scripts/ci/**"
- "test/**"
- "sgl-kernel/**"
- ".github/workflows/pr-test-xeon.yml"
@@ -13,7 +13,7 @@ on:
branches: [ main ]
paths:
- "python/**"
- "scripts/**"
- "scripts/ci/**"
- "test/**"
- "sgl-kernel/**"
- ".github/workflows/pr-test-xeon.yml"

View File

@@ -36,7 +36,7 @@ jobs:
filters: |
src:
- "python/**"
- "scripts/**"
- "scripts/ci/**"
- "test/**"
- ".github/workflows/pr-test.yml"
@@ -417,7 +417,7 @@ jobs:
unit-test-deepep-4-gpu, unit-test-deepep-8-gpu,
unit-test-backend-8-gpu-b200,
]
if: needs.check-changes.outputs.src == 'true'
if: always()
runs-on: ubuntu-latest
steps:
- name: Check all dependent job statuses