This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fa2496bb917 MINOR: skip ci-complete on 4.0 (#20644)
fa2496bb917 is described below

commit fa2496bb9179bb1799a292cec47f97f73e5956f8
Author: Jhen-Yung Hsu <[email protected]>
AuthorDate: Tue Oct 7 20:27:29 2025 +0800

    MINOR: skip ci-complete on 4.0 (#20644)
    
    Since that 4.0 branch does not include
    [KAFKA-18748](https://issues.apache.org/jira/browse/KAFKA-18748), it is
    unable to find the related scan reports, but the ci-complete workflow is
    still being triggered on the 4.0 branch. Disable this on the 4.0 branch,
    as its reports can be safely ignored.
    
    See https://github.com/apache/kafka/pull/20616#issuecomment-3370876779.
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 .github/workflows/ci-complete.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci-complete.yml 
b/.github/workflows/ci-complete.yml
index 6b8492fb7c0..4b7dec3cdf5 100644
--- a/.github/workflows/ci-complete.yml
+++ b/.github/workflows/ci-complete.yml
@@ -38,7 +38,7 @@ run-name: Build Scans for ${{ 
github.event.workflow_run.display_title}}
 jobs:
   upload-build-scan:
     # Skip this workflow if the CI run was skipped or cancelled
-    if: (github.event.workflow_run.conclusion == 'success' || 
github.event.workflow_run.conclusion == 'failure')
+    if: (github.event.workflow_run.conclusion == 'success' || 
github.event.workflow_run.conclusion == 'failure') && 
github.event.workflow_run.head_branch != '4.0'
     runs-on: ubuntu-latest
     strategy:
       fail-fast: false

Reply via email to