Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2022-02-16 19:37:29 +0300
committerGitHub <noreply@github.com>2022-02-16 19:37:29 +0300
commit34cf563addcd2d9550e2f0de8237528fafe86cc6 (patch)
tree962f0ccd33138be5292ca783760881ec018811b1 /.github
parent680f3a5e9b9bd5ac16e979916d6bfdd309c50a61 (diff)
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: https://github.com/nodejs/node/pull/42016 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/auto-start-ci.yml2
-rw-r--r--.github/workflows/commit-queue.yml2
2 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/auto-start-ci.yml b/.github/workflows/auto-start-ci.yml
index 3c5ad5948cb..2416561ab7e 100644
--- a/.github/workflows/auto-start-ci.yml
+++ b/.github/workflows/auto-start-ci.yml
@@ -8,6 +8,8 @@ on:
# ./doc/contributing/commit-queue.md
- cron: '*/5 * * * *'
+concurrency: ${{ github.workflow }}
+
env:
NODE_VERSION: lts/*
diff --git a/.github/workflows/commit-queue.yml b/.github/workflows/commit-queue.yml
index f4aee6dd37a..bbaf67a0e7e 100644
--- a/.github/workflows/commit-queue.yml
+++ b/.github/workflows/commit-queue.yml
@@ -13,6 +13,8 @@ on:
schedule:
- cron: '*/5 * * * *'
+concurrency: ${{ github.workflow }}
+
env:
NODE_VERSION: lts/*