From 507c408ad59c9c54c71bd6830c2bb9c5651520ba Mon Sep 17 00:00:00 2001 From: Alexis Lucattini Date: Wed, 8 Nov 2023 15:56:50 +1100 Subject: [PATCH] Add concurrency to GH build Resolves #180 --- .github/workflows/build_docker_container.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_docker_container.yml b/.github/workflows/build_docker_container.yml index d4248da..e47c752 100644 --- a/.github/workflows/build_docker_container.yml +++ b/.github/workflows/build_docker_container.yml @@ -17,6 +17,10 @@ on: # required: true # type: string +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_container: runs-on: ubuntu-latest