ci: only trigger downstream when release success (#6074)

This commit is contained in:
Ning Sun
2025-05-09 17:48:07 +08:00
committed by GitHub
parent 04cae4b21e
commit 828f69a562

View File

@@ -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: