aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-26 14:43:12 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-26 14:55:52 +0200
commitd26e21ef40b4872007e753e821c2908bfe93b678 (patch)
tree1851f88b654f7b234fb6fa3ba9d63f2550657827
parent7b91373bd15fe32b94e8044adc0bdadb34a1e9d3 (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>
-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 60ff51063..9cac7c9b3 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 }}