diff --git a/.github/workflows/cw-check.yml b/.github/workflows/cw-check.yml index 5fed7bce1..e86cc0768 100644 --- a/.github/workflows/cw-check.yml +++ b/.github/workflows/cw-check.yml @@ -21,6 +21,10 @@ on: - "release/*" - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main' }} + jobs: cw-check: runs-on: ubuntu-20.04 diff --git a/.github/workflows/no-std.yml b/.github/workflows/no-std.yml index 6e267175f..c2b06172e 100644 --- a/.github/workflows/no-std.yml +++ b/.github/workflows/no-std.yml @@ -21,6 +21,10 @@ on: - "release/*" - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main' }} + jobs: check-no-std-panic-conflict: name: Check no_std panic conflict