Skip to content

Commit 0d0b470

Browse files
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
1 parent 48b84f4 commit 0d0b470

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
code-format:
5555
name: TypeScript/Scala/Svelte Formatting
5656
strategy:
57+
max-parallel: 1
5758
matrix:
5859
java_distribution: [temurin]
5960
java_version: [17]
@@ -107,6 +108,7 @@ jobs:
107108
build-test-package:
108109
name: "Build, Test, and Package (OS: ${{ matrix.os }}, Node: ${{ matrix.node }}, Java: ${{ matrix.java_version }}, VS Code: ${{ matrix.vscode }})"
109110
strategy:
111+
max-parallel: 15
110112
matrix:
111113
java_distribution: [temurin]
112114
java_version: [8, 11, 17, 21]

.github/workflows/licenses.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
rat-check:
2828
name: Rat Check
2929
strategy:
30+
max-parallel: 1
3031
matrix:
3132
java_distribution: [temurin]
3233
java_version: [17]
@@ -63,6 +64,7 @@ jobs:
6364
node-missing-license-data-check:
6465
name: Node Missing LICENSE Data Check
6566
strategy:
67+
max-parallel: 1
6668
matrix:
6769
os: [ubuntu-22.04]
6870
node: ["22.14.0"]
@@ -100,6 +102,7 @@ jobs:
100102
node-license-compatibility:
101103
name: Node LICENSE Compatibility Check
102104
strategy:
105+
max-parallel: 1
103106
matrix:
104107
os: [ubuntu-22.04]
105108
node: ["22.14.0"]

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
build-test-package:
2626
name: "Build, Test, and Package (OS: ${{ matrix.os }}, Node: ${{ matrix.node }}, Java: ${{ matrix.java_version }}, VS Code: ${{ matrix.vscode }})"
2727
strategy:
28+
max-parallel: 15
2829
matrix:
2930
os:
3031
[

0 commit comments

Comments
 (0)