diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf4b48ac..e509b332 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,10 @@ name: Build and Test on: push: +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: ${{ github.ref_name != 'main' }} + defaults: run: shell: bash