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.lede-project.org./?a=commitdiff_plain;h=5aa683be13c9b1f4a2bdb09ec0481b7cd546dd77;p=feed%2Frouting.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 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 }}