From 0cc60ed7b9b7e95f36f2ad2165f6de555e6d343d Mon Sep 17 00:00:00 2001 From: Steve Lawrence Date: Tue, 3 Feb 2026 15:22:59 -0500 Subject: [PATCH] Set max-parallel for matrix GitHub action jobs In accordance with ASF policy, set job.strategy.max-parallel to the recommended 15 or less for jobs that specify a matrix. The value is set to the number of expected jobs for the matrix, with a maximum of 15. DAFFODIL-3069 --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab364f554d..08e03d7700 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,7 @@ jobs: name: Java ${{ matrix.java_version }}, Scala ${{ matrix.scala_version }}, ${{ matrix.os }} strategy: fail-fast: false + max-parallel: 7 matrix: java_distribution: [ temurin ] java_version: [ 17, 21, 25 ] @@ -236,6 +237,7 @@ jobs: name: Lint Checks strategy: fail-fast: false + max-parallel: 1 matrix: java_distribution: [ temurin ] java_version: [ 17 ]