summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-26 14:43:12 +0200
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2023-09-01 21:57:23 +0200
commit191f6c04236831d28fe26020c46c3702c865749d (patch)
tree5e48c48d84d68906ca0321aa75d658c50e72de84
parent675248d9b7b36f4d25c8ed76846d18039bbf5f05 (diff)
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 <ansuelsmth@gmail.com> (cherry picked from commit 5aa683be13c9b1f4a2bdb09ec0481b7cd546dd77)
-rw-r--r--.github/workflows/multi-arch-test-build.yml4
1 files changed, 4 insertions, 0 deletions
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 }}