[CI] Optimize CI: refine check-bypass/cancel logic and fix nightly task (#6939)

* [CI] Optimize CI: add check-bypass for workflow skip control

* fix ci_image_build and publish_job

* [CI] Optimize CI: add check-bypass and cancel

* [CI] update to PFCCLab/ci-bypass@v2
This commit is contained in:
YuBaoku
2026-03-20 19:34:45 +08:00
committed by GitHub
parent 00eb12f656
commit 030820db4c
21 changed files with 281 additions and 8 deletions
+13
View File
@@ -12,10 +12,23 @@ on:
repo_archive_url:
description: "Compressed source code archive."
value: ${{ jobs.code-clone.outputs.repo_archive_url }}
secrets:
github-token:
required: true
jobs:
check_bypass:
uses: ./.github/workflows/check-bypass.yml
secrets:
github-token: ${{ secrets.github-token }}
with:
workflow-name: code_clone
code-clone:
runs-on:
group: HK-Clone
needs: check_bypass
if: ${{ needs.check_bypass.outputs.can-skip != 'true' }}
outputs:
repo_archive_url: ${{ steps.set_output.outputs.repo_archive_url }}
steps: