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>
This commit is contained in:
parent
7b91373bd1
commit
d26e21ef40
1 changed files with 4 additions and 0 deletions
4
.github/workflows/multi-arch-test-build.yml
vendored
4
.github/workflows/multi-arch-test-build.yml
vendored
|
@ -3,6 +3,10 @@ name: Test Build
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Test ${{ matrix.arch }}
|
name: Test ${{ matrix.arch }}
|
||||||
|
|
Loading…
Reference in a new issue