From: Christian Marangi Date: Fri, 26 May 2023 12:43:12 +0000 (+0200) Subject: CI: add concurrency rules to skip redundant build X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d26e21ef40b4872007e753e821c2908bfe93b678;p=feed%2Fpackages.git 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 --- diff --git a/.github/workflows/multi-arch-test-build.yml b/.github/workflows/multi-arch-test-build.yml index 60ff51063b..9cac7c9b39 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 }}