diff --git a/.github/workflows/golang-test-darwin.yml b/.github/workflows/golang-test-darwin.yml index 7bfbe02cd..a041945d8 100644 --- a/.github/workflows/golang-test-darwin.yml +++ b/.github/workflows/golang-test-darwin.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true + jobs: test: runs-on: macos-latest diff --git a/.github/workflows/golang-test-linux.yml b/.github/workflows/golang-test-linux.yml index b198009be..3d3fac0d8 100644 --- a/.github/workflows/golang-test-linux.yml +++ b/.github/workflows/golang-test-linux.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true + jobs: test: strategy: diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 677ab4cbc..cf691ac16 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -8,9 +8,11 @@ on: env: downloadPath: '${{ github.workspace }}\temp' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true jobs: - test: runs-on: windows-latest steps: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 956d37936..05ef7a365 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,5 +1,8 @@ name: golangci-lint on: [pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true jobs: golangci: name: lint diff --git a/.github/workflows/install-test-darwin.yml b/.github/workflows/install-test-darwin.yml index cdf0cae5a..9fede3438 100644 --- a/.github/workflows/install-test-darwin.yml +++ b/.github/workflows/install-test-darwin.yml @@ -7,7 +7,9 @@ on: pull_request: paths: - "release_files/install.sh" - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true jobs: install-cli-only: runs-on: macos-latest diff --git a/.github/workflows/install-test-linux.yml b/.github/workflows/install-test-linux.yml index d4246881c..4ce30a937 100644 --- a/.github/workflows/install-test-linux.yml +++ b/.github/workflows/install-test-linux.yml @@ -7,7 +7,9 @@ on: pull_request: paths: - "release_files/install.sh" - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true jobs: install-cli-only: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59c0bc912..f3f372c8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,10 @@ env: SIGN_PIPE_VER: "v0.0.5" GORELEASER_VER: "v1.14.1" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true + jobs: release: runs-on: ubuntu-latest diff --git a/.github/workflows/test-docker-compose-linux.yml b/.github/workflows/test-docker-compose-linux.yml index c28e94a4f..da213fe72 100644 --- a/.github/workflows/test-docker-compose-linux.yml +++ b/.github/workflows/test-docker-compose-linux.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest