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

martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-kafka.git

commit 3c6991d86389450fe2dafac1d685c87e6ca82756
Author: Martijn Visser <[email protected]>
AuthorDate: Wed Nov 19 11:04:10 2025 +0100

    [hotfix] Refactor weekly tests to use YAML anchors
---
 .github/workflows/push_pr.yml |  8 ++++----
 .github/workflows/weekly.yml  | 25 ++-----------------------
 2 files changed, 6 insertions(+), 27 deletions(-)

diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml
index be99f6cf..68724cff 100644
--- a/.github/workflows/push_pr.yml
+++ b/.github/workflows/push_pr.yml
@@ -28,8 +28,8 @@ jobs:
   compile_and_test:
     strategy:
       matrix:
-        flink: [ 2.0.1, 2.1.1 ]
-        jdk: [ '11, 17, 21' ]
+        flink: &flink_versions [ 2.0.1, 2.1.1 ]
+        jdk: &jdk_versions [ '11, 17, 21' ]
     uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
     with:
       flink_version: ${{ matrix.flink }}
@@ -37,8 +37,8 @@ jobs:
   python_test:
     strategy:
       matrix:
-        flink: [ 2.0.1, 2.1.1 ]
-        jdk: [ '11, 17, 21' ]
+        flink: *flink_versions
+        jdk: *jdk_versions
     uses: 
apache/flink-connector-shared-utils/.github/workflows/python_ci.yml@ci_utils
     with:
       flink_version: ${{ matrix.flink }}
diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml
index 0feaf914..6fa0ed82 100644
--- a/.github/workflows/weekly.yml
+++ b/.github/workflows/weekly.yml
@@ -29,7 +29,7 @@ jobs:
     if: github.repository_owner == 'apache'
     strategy:
       matrix:
-        flink_branches: [{
+        flink_branches: &flink_branches_matrix [{
           flink: 2.2-SNAPSHOT,
           branch: main
         }, {
@@ -61,28 +61,7 @@ jobs:
     if: github.repository_owner == 'apache'
     strategy:
       matrix:
-        flink_branches: [{
-          flink: 2.2-SNAPSHOT,
-          branch: main
-        }, {
-          flink: 2.1.1,
-          branch: main
-        }, {
-          flink: 2.0.1,
-          branch: main
-        }, {
-          flink: 1.19.3,
-          branch: v3.3
-        }, {
-          flink: 1.20.3,
-          branch: v3.3
-        }, {
-          flink: 1.20.3,
-          branch: v3.4
-        }, {
-          flink: 2.0.1,
-          branch: v4.0
-        }]
+        flink_branches: *flink_branches_matrix
     uses: 
apache/flink-connector-shared-utils/.github/workflows/python_ci.yml@ci_utils
     with:
       flink_version: ${{ matrix.flink_branches.flink }}

Reply via email to