diff --git a/.github/workflows/atlantis-base.yml b/.github/workflows/atlantis-base.yml index abfcce26b9..f44c54fa22 100644 --- a/.github/workflows/atlantis-base.yml +++ b/.github/workflows/atlantis-base.yml @@ -13,6 +13,10 @@ defaults: run: working-directory: docker-base +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/atlantis-image.yml b/.github/workflows/atlantis-image.yml index 26a8767f44..f5b2b61363 100644 --- a/.github/workflows/atlantis-image.yml +++ b/.github/workflows/atlantis-image.yml @@ -8,6 +8,10 @@ on: - 'v*.*.*' workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/ci-link-checker-image.yml b/.github/workflows/ci-link-checker-image.yml index d435dc24e2..74637eb765 100644 --- a/.github/workflows/ci-link-checker-image.yml +++ b/.github/workflows/ci-link-checker-image.yml @@ -8,6 +8,10 @@ on: - "master" workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + defaults: run: working-directory: .github/website_link_checker diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 29a5aab838..913839aa8f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,6 +2,10 @@ name: linter on: [pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: golangci-lint: name: runner / golangci-lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d87e08ccfe..1ee58bf542 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,11 @@ name: tester + on: [push] + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: test: name: runner / gotest diff --git a/.github/workflows/testing-env-image.yml b/.github/workflows/testing-env-image.yml index 290491b259..69910a6a67 100644 --- a/.github/workflows/testing-env-image.yml +++ b/.github/workflows/testing-env-image.yml @@ -9,6 +9,10 @@ on: - "master" workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest