From e69dfa95d954434d79fc0ff2a6221ef91cf17f24 Mon Sep 17 00:00:00 2001 From: openoms Date: Sat, 23 Nov 2024 07:58:45 +0100 Subject: [PATCH] add concurrency to actions --- .github/workflows/amd64-image-build.yml | 4 ++++ .github/workflows/arm64-rpi-image-build.yml | 4 ++++ .github/workflows/arm64-rpi5-image-build.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/amd64-image-build.yml b/.github/workflows/amd64-image-build.yml index f0524bc..932e67c 100644 --- a/.github/workflows/amd64-image-build.yml +++ b/.github/workflows/amd64-image-build.yml @@ -1,5 +1,9 @@ name: amd64-image-build +concurrency: + group: amd64-image-build-${{ github.head_ref }} + cancel-in-progress: true + on: push: branches: [ "master" ] diff --git a/.github/workflows/arm64-rpi-image-build.yml b/.github/workflows/arm64-rpi-image-build.yml index 66640fb..6f05d40 100644 --- a/.github/workflows/arm64-rpi-image-build.yml +++ b/.github/workflows/arm64-rpi-image-build.yml @@ -1,5 +1,9 @@ name: arm64-rpi-image-build +concurrency: + group: arm64-rpi-image-build-${{ github.head_ref }} + cancel-in-progress: true + on: push: branches: [ "master" ] diff --git a/.github/workflows/arm64-rpi5-image-build.yml b/.github/workflows/arm64-rpi5-image-build.yml index 30ab410..dba0e8e 100644 --- a/.github/workflows/arm64-rpi5-image-build.yml +++ b/.github/workflows/arm64-rpi5-image-build.yml @@ -1,5 +1,9 @@ name: arm64-rpi5-image-build +concurrency: + group: arm64-rpi5-image-build-${{ github.head_ref }} + cancel-in-progress: true + on: push: branches: [ "master" ]