mirror of https://github.com/nodejs/node.git
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>pull/42025/head
parent
680f3a5e9b
commit
34cf563add
|
@ -8,6 +8,8 @@ on:
|
|||
# ./doc/contributing/commit-queue.md
|
||||
- cron: '*/5 * * * *'
|
||||
|
||||
concurrency: ${{ github.workflow }}
|
||||
|
||||
env:
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@ on:
|
|||
schedule:
|
||||
- cron: '*/5 * * * *'
|
||||
|
||||
concurrency: ${{ github.workflow }}
|
||||
|
||||
env:
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue