Skip to content

Commit b022fe7

Browse files
kevinjqliuCopilot
andauthored
infra: set github actions max-parallel to 15 (#565)
this is the guidance from apache infra, see https://s.apache.org/max-parallel * All workflows MUST have a job concurrency level less than or equal to 20. This means a workflow cannot have more than 20 jobs running at the same time across all matrices. * All workflows SHOULD have a job concurrency level less than or equal to 15. Just because 20 is the max, doesn't mean you should strive for 20. note that `max-parallel` limits the number of simultaneous runs ([see docs](https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations#defining-the-maximum-number-of-concurrent-jobs)), other jobs will just wait --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kevinjqliu <9057843+kevinjqliu@users.noreply.github.com>
1 parent 721e529 commit b022fe7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/rc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- archive
7272
runs-on: ${{ matrix.os }}
7373
strategy:
74+
max-parallel: 15
7475
fail-fast: false
7576
matrix:
7677
os:

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ jobs:
109109
runs-on: ${{ matrix.runs-on }}
110110
timeout-minutes: 30
111111
strategy:
112+
max-parallel: 15
112113
fail-fast: false
113114
matrix:
114115
include:

0 commit comments

Comments
 (0)