From 1c65dac0764acb52edb88798ff7ce8f160d8040c Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 30 Aug 2022 09:27:22 +0000 Subject: [PATCH] :robot: Put long-running workflows under concurrency group --- .github/workflows/image-arm.yaml | 4 ++++ .github/workflows/image-framework.yaml | 4 ++++ .github/workflows/image.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/image-arm.yaml b/.github/workflows/image-arm.yaml index 6fc0b1420..0b85621fe 100644 --- a/.github/workflows/image-arm.yaml +++ b/.github/workflows/image-arm.yaml @@ -7,6 +7,10 @@ on: - master pull_request: +concurrency: + group: ci-arm-${{ github.head_ref || github.ref }}-${{ github.repository }} + cancel-in-progress: true + jobs: docker: runs-on: ubuntu-latest diff --git a/.github/workflows/image-framework.yaml b/.github/workflows/image-framework.yaml index 52ed41953..d7c01cc64 100644 --- a/.github/workflows/image-framework.yaml +++ b/.github/workflows/image-framework.yaml @@ -6,6 +6,10 @@ on: - master pull_request: +concurrency: + group: ci-fw-${{ github.head_ref || github.ref }}-${{ github.repository }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index fba447d97..1f315a59c 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -6,6 +6,10 @@ on: - master pull_request: +concurrency: + group: ci-image-${{ github.head_ref || github.ref }}-${{ github.repository }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest