diff --git a/.github/workflows/stubtest_stdlib.yml b/.github/workflows/stubtest_stdlib.yml index 57f10c3a0..3fed32946 100644 --- a/.github/workflows/stubtest_stdlib.yml +++ b/.github/workflows/stubtest_stdlib.yml @@ -19,6 +19,10 @@ permissions: env: PIP_DISABLE_PIP_VERSION_CHECK: 1 +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: stubtest-stdlib: name: Check stdlib with stubtest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 481c3a636..f56ace97f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,10 @@ permissions: env: PIP_DISABLE_PIP_VERSION_CHECK: 1 +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: file-consistency: name: Check file consistency diff --git a/.github/workflows/typecheck_typeshed_code.yml b/.github/workflows/typecheck_typeshed_code.yml index e28b99221..f13d6be9b 100644 --- a/.github/workflows/typecheck_typeshed_code.yml +++ b/.github/workflows/typecheck_typeshed_code.yml @@ -19,6 +19,10 @@ permissions: env: PIP_DISABLE_PIP_VERSION_CHECK: 1 +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: mypy: name: Run mypy against the scripts and tests directories