mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[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:
@@ -27,10 +27,22 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: ""
|
||||
secrets:
|
||||
github-token:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
check_bypass:
|
||||
uses: ./.github/workflows/check-bypass.yml
|
||||
secrets:
|
||||
github-token: ${{ secrets.github-token }}
|
||||
with:
|
||||
workflow-name: base_test
|
||||
|
||||
base_tests:
|
||||
runs-on: [self-hosted, GPU-h20-1Cards]
|
||||
needs: check_bypass
|
||||
if: ${{ needs.check_bypass.outputs.can-skip != 'true' }}
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- name: Code Prepare
|
||||
|
||||
Reference in New Issue
Block a user