From f11110293c90ec3289b98964d5f1c85e53d123b9 Mon Sep 17 00:00:00 2001 From: Larry Chen Date: Tue, 16 Jun 2026 18:06:54 +0800 Subject: [PATCH] ci(core,rest): trigger release builds on tags only, not release/* branches --- .github/workflows/ci.yaml | 3 +-- .github/workflows/rest-ci.yml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e4691573e9..e7f855ab2a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,6 @@ on: push: branches: - main - - release/* - "pull-request/[0-9]+" tags: - "v[0-9]*.[0-9]*.[0-9]*" @@ -1407,7 +1406,7 @@ jobs: # ============================================================================ notify-build-status: - if: ${{ always() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && github.event_name != 'schedule' }} + if: ${{ always() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/')) && github.event_name != 'schedule' }} needs: - prepare - build-container-x86_64 diff --git a/.github/workflows/rest-ci.yml b/.github/workflows/rest-ci.yml index 4e4969eb8c..89d4dc2b57 100644 --- a/.github/workflows/rest-ci.yml +++ b/.github/workflows/rest-ci.yml @@ -8,7 +8,6 @@ on: push: branches: - main - - release/* - 'pull-request/[0-9]+' tags: - "v[0-9]*.[0-9]*.[0-9]*"