From d9ebe5852c2ebf345e33c7cb8ce2d3ca57434b59 Mon Sep 17 00:00:00 2001 From: liyang Date: Fri, 4 Sep 2026 13:39:55 +0000 Subject: [PATCH] ci: skip bumping helm charts and homebrew and downstream repository for pre-releases (#9031) * ci: skip bumping helm charts and homebrew for pre-releases Signed-off-by: liyang * add skip downstream-repo Signed-off-by: liyang --------- Signed-off-by: liyang --- .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 122c349d8a..cefad42328 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -715,7 +715,7 @@ jobs: bump-downstream-repo-versions: name: Bump downstream repo versions - if: ${{ github.event_name == 'schedule' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref_type == 'tag' && !contains(github.ref_name, 'nightly')) }} + if: ${{ github.event_name == 'schedule' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref_type == 'tag' && !contains(github.ref_name, 'nightly')) && (needs.allocate-runners.outputs.is-current-version-stable == 'true' && needs.allocate-runners.outputs.is-current-version-latest == 'true') }} needs: [allocate-runners, publish-github-release] runs-on: ubuntu-latest # Permission reference: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs @@ -741,7 +741,7 @@ jobs: bump-helm-charts-version: name: Bump helm charts version - if: ${{ github.ref_type == 'tag' && !contains(github.ref_name, 'nightly') && github.event_name != 'schedule' && (needs.allocate-runners.outputs.is-current-version-stable != 'true' || needs.allocate-runners.outputs.is-current-version-latest == 'true') }} + if: ${{ github.ref_type == 'tag' && !contains(github.ref_name, 'nightly') && github.event_name != 'schedule' && (needs.allocate-runners.outputs.is-current-version-stable == 'true' && needs.allocate-runners.outputs.is-current-version-latest == 'true') }} needs: [allocate-runners, publish-github-release] runs-on: ubuntu-latest permissions: @@ -762,7 +762,7 @@ jobs: bump-homebrew-greptime-version: name: Bump homebrew greptime version - if: ${{ github.ref_type == 'tag' && !contains(github.ref_name, 'nightly') && github.event_name != 'schedule' && (needs.allocate-runners.outputs.is-current-version-stable != 'true' || needs.allocate-runners.outputs.is-current-version-latest == 'true') }} + if: ${{ github.ref_type == 'tag' && !contains(github.ref_name, 'nightly') && github.event_name != 'schedule' && (needs.allocate-runners.outputs.is-current-version-stable == 'true' && needs.allocate-runners.outputs.is-current-version-latest == 'true') }} needs: [allocate-runners, publish-github-release] runs-on: ubuntu-latest permissions: