[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
-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'