From a4b8858668d44203f31e1d9cd675b02600d0ea3f Mon Sep 17 00:00:00 2001 From: sudoforge Date: Thu, 18 Jul 2024 21:49:33 -0700 Subject: feat: add concurrency limits to all pipelines This change restricts the number of active pipeline executions for a given tree to one, so that new pushes to a tree that trigger a pipeline will cancel older (but still running) pipelines. Change-Id: I1deda682d39cadbce97f8df4ca7c3110a96b4549 --- .github/workflows/nodejs.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github/workflows/nodejs.yml') diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index fffff896..7e37f0ab 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -7,6 +7,10 @@ on: branches: [ master ] workflow_dispatch: +concurrency: + group: nodejs-${{ github.ref }} + cancel-in-progress: true + defaults: run: working-directory: webui -- cgit