From d5943ffed8e18e94ff71f0f1842b5137b5b795ed Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Tue, 24 Jan 2023 23:23:56 +0100 Subject: [PATCH 1/1] CI: push-containers: limit to one concurrent run We may find in a situation where due the queue an old run finish after the last run, resulting in the containers getting overwritten with an old version. Limit the push-containers workflow to one concurrent run and cancel any run in progress. Signed-off-by: Christian Marangi --- .github/workflows/push-containers.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/push-containers.yml b/.github/workflows/push-containers.yml index 4045dfaa29..cc13cda572 100644 --- a/.github/workflows/push-containers.yml +++ b/.github/workflows/push-containers.yml @@ -11,6 +11,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true + jobs: build-linux-buildbot: name: Build tools with buildbot container -- 2.30.2