[CI] Simplify CI check actions and add maintenance gate to rerun-ut (#21455)

This commit is contained in:
Liangsheng Yin
2026-03-25 23:28:18 -07:00
committed by GitHub
parent 01ccdb91b1
commit 176c8e7b0e
7 changed files with 5 additions and 106 deletions
-30
View File
@@ -63,8 +63,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -98,8 +96,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
timeout-minutes: 20
@@ -130,8 +126,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
timeout-minutes: 20
@@ -158,8 +152,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -191,8 +183,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -275,8 +265,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -308,8 +296,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -381,8 +367,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -408,8 +392,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -448,8 +430,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -475,8 +455,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -520,8 +498,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -580,8 +556,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -636,8 +610,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
@@ -665,8 +637,6 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
run: |
-8
View File
@@ -45,11 +45,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
timeout-minutes: 20
@@ -75,8 +72,6 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
timeout-minutes: 20
@@ -102,11 +97,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Install dependencies
timeout-minutes: 20
@@ -63,11 +63,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: inputs.sgl_kernel == 'true'
@@ -120,11 +117,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: inputs.sgl_kernel == 'true'
@@ -174,11 +168,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: inputs.sgl_kernel == 'true'
-12
View File
@@ -35,11 +35,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Cleanup
run: |
@@ -73,11 +70,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Cleanup
run: |
@@ -111,11 +105,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Cleanup
run: |
@@ -161,11 +152,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Cleanup
run: |
-46
View File
@@ -92,8 +92,6 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Determine run mode
id: run-mode
@@ -339,8 +337,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- uses: ./.github/actions/wait-for-jobs
id: wait
@@ -369,8 +365,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- uses: ./.github/actions/wait-for-jobs
id: wait
@@ -430,8 +424,6 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
@@ -484,8 +476,6 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
@@ -564,11 +554,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -620,11 +607,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Set up Python
uses: actions/setup-python@v5
@@ -677,11 +661,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -741,11 +722,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -798,11 +776,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -857,11 +832,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -944,11 +916,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -1001,11 +970,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -1074,11 +1040,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -1127,11 +1090,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -1190,11 +1150,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
@@ -1259,11 +1216,8 @@ jobs:
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
- uses: ./.github/actions/check-stage-health
id: stage-health
- uses: ./.github/actions/check-maintenance
with:
github-token: ${{ github.token }}
- name: Download artifacts
if: needs.check-changes.outputs.sgl_kernel == 'true'
+3
View File
@@ -41,6 +41,7 @@ env:
permissions:
actions: write
contents: read
issues: read
jobs:
rerun-ut-cuda:
@@ -55,6 +56,8 @@ jobs:
with:
ref: ${{ inputs.pr_head_sha || github.sha }}
- uses: ./.github/actions/check-maintenance
- name: Install dependencies
timeout-minutes: 20
run: |