Skip to content

Commit fc649fa

Browse files
targosbengl
authored andcommitted
build: prevent concurrent CI and CQ workflow runs
Use concurrency groups to prevent new runs from being started while a previous job is already running. This can happen when a lot of unrelated jobs are pending because of runner exhaustion. PR-URL: #42016 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 28cd39e commit fc649fa

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/auto-start-ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
# ./doc/contributing/commit-queue.md
99
- cron: '*/5 * * * *'
1010

11+
concurrency: ${{ github.workflow }}
12+
1113
env:
1214
NODE_VERSION: lts/*
1315

.github/workflows/commit-queue.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
schedule:
1414
- cron: '*/5 * * * *'
1515

16+
concurrency: ${{ github.workflow }}
17+
1618
env:
1719
NODE_VERSION: lts/*
1820

0 commit comments

Comments
 (0)