From 828f69a562bdc7373450f45db0f702df902c5f60 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Fri, 9 May 2025 17:48:07 +0800 Subject: [PATCH] ci: only trigger downstream when release success (#6074) --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3d233fffa..b3737d28fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -444,7 +444,7 @@ jobs: bump-doc-version: name: Bump doc version if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [allocate-runners] + needs: [publish-github-release] runs-on: ubuntu-latest # Permission reference: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs permissions: @@ -466,8 +466,8 @@ jobs: bump-website-version: name: Bump website version - if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [allocate-runners] + if: ${{ github.event_name == 'push' }} + needs: [publish-github-release] runs-on: ubuntu-latest # Permission reference: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs permissions: