diff --git a/.github/workflows/build-distros.yml b/.github/workflows/build-distros.yml index 10c520893341..814ba8f69910 100644 --- a/.github/workflows/build-distros.yml +++ b/.github/workflows/build-distros.yml @@ -17,6 +17,10 @@ env: GOTAGS: ${{ endsWith(github.repository, '-enterprise') && 'consulent' || '' }} GOPRIVATE: github.com/hashicorp # Required for enterprise deps +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: setup: name: Setup diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index ce2381930665..0af5b61ad615 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -23,6 +23,10 @@ env: TEST_RESULTS: /tmp/test-results GOPRIVATE: github.com/hashicorp # Required for enterprise deps +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: conditional-skip: runs-on: ubuntu-latest diff --git a/.github/workflows/test-integrations.yml b/.github/workflows/test-integrations.yml index 510eaf2be20d..0ee74674eb2b 100644 --- a/.github/workflows/test-integrations.yml +++ b/.github/workflows/test-integrations.yml @@ -25,6 +25,10 @@ env: CONSUL_LATEST_IMAGE_NAME: ${{ endsWith(github.repository, '-enterprise') && github.repository || 'hashicorp/consul' }} GOPRIVATE: github.com/hashicorp # Required for enterprise deps +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: conditional-skip: runs-on: ubuntu-latest