diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index 9031f3d..f686133 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -7,6 +7,10 @@ on: pull_request: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: test-cargo: runs-on: ubuntu-latest diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml index 850df2d..0e490ab 100644 --- a/.github/workflows/check-style.yml +++ b/.github/workflows/check-style.yml @@ -5,6 +5,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: check-ts-style: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf5e74b..836c73a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,10 @@ on: env: CARGO_TERM_COLOR: always +concurrency: + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: test-cargo: runs-on: ubuntu-latest