Skip to content

Commit 77ed953

Browse files
committed
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.
1 parent 680f3a5 commit 77ed953

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: auto-start-ci
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: commit-queue
17+
1618
env:
1719
NODE_VERSION: lts/*
1820

0 commit comments

Comments
 (0)