From ad46bbb4a663721e89061d99f41ed7228101dc8f Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Fri, 26 May 2023 14:43:12 +0200 Subject: [PATCH] CI: add concurrency rules to skip redundant build Add concurrency rules to skip redundant build to skip extra build test on force push on pull request. Signed-off-by: Christian Marangi (cherry picked from commit 5aa683be13c9b1f4a2bdb09ec0481b7cd546dd77) --- .github/workflows/multi-arch-test-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/multi-arch-test-build.yml b/.github/workflows/multi-arch-test-build.yml index 3aabab4..c40bf01 100644 --- a/.github/workflows/multi-arch-test-build.yml +++ b/.github/workflows/multi-arch-test-build.yml @@ -3,6 +3,10 @@ name: Test Build on: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: build: name: Test ${{ matrix.arch }} -- 2.30.2