diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-26 14:43:12 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-26 14:55:52 +0200 |
commit | d26e21ef40b4872007e753e821c2908bfe93b678 (patch) | |
tree | 1851f88b654f7b234fb6fa3ba9d63f2550657827 | |
parent | 7b91373bd15fe32b94e8044adc0bdadb34a1e9d3 (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.yml | 4 |
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 }} |