diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml index dafb45bf25..7e8d3fb701 100644 --- a/.github/workflows/csharp.yml +++ b/.github/workflows/csharp.yml @@ -18,6 +18,10 @@ on: permissions: contents: read +concurrency: + group: C#-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: run-tests: timeout-minutes: 15 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a396e708b8..a55e550ed2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,6 +16,11 @@ on: - go/** - .github/workflows/go.yml +concurrency: + group: go-${{ github.head_ref || github.ref }} + cancel-in-progress: true + + jobs: build-and-test-go-client: timeout-minutes: 20 diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 4989fae6c3..daddfed9b7 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -15,6 +15,10 @@ on: - "java/**" - ".github/workflows/java.yml" +concurrency: + group: java-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: build-and-test-java-client: timeout-minutes: 25 diff --git a/.github/workflows/lint-ts.yml b/.github/workflows/lint-ts.yml index d691dec002..489ba0d021 100644 --- a/.github/workflows/lint-ts.yml +++ b/.github/workflows/lint-ts.yml @@ -14,6 +14,10 @@ on: - benchmarks/utilities/* - .github/workflows/lint-ts.yml +concurrency: + group: node-lint-${{ github.head_ref || github.ref }} + cancel-in-progress: true + env: CARGO_TERM_COLOR: always jobs: diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 612d931878..7213d2e2ca 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -21,6 +21,10 @@ on: - .github/workflows/build-node-wrapper/action.yml - .github/workflows/install-shared-dependencies/action.yml +concurrency: + group: node-${{ github.head_ref || github.ref }} + cancel-in-progress: true + env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 5b8b7d620d..f819208006 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -24,6 +24,9 @@ on: - .github/workflows/install-shared-dependencies/action.yml - .github/workflows/install-redis-modules/action.yml +concurrency: + group: python-${{ github.head_ref || github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ed05944c1e..536af28ac9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,6 +17,10 @@ on: - utils/cluster_manager.py - .github/workflows/rust.yml +concurrency: + group: rust-${{ github.head_ref || github.ref }} + cancel-in-progress: true + env: CARGO_TERM_COLOR: always