diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 28d8c60..f053412 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -7,6 +7,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: unit: runs-on: ubuntu-latest diff --git a/.github/workflows/ci-abi-metadata.yml b/.github/workflows/ci-abi-metadata.yml index ea6e786..e3304c5 100644 --- a/.github/workflows/ci-abi-metadata.yml +++ b/.github/workflows/ci-abi-metadata.yml @@ -9,6 +9,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: generate-abi-metadata: name: generate-and-verify-abi-metadata diff --git a/.github/workflows/ci-abi-snapshots.yml b/.github/workflows/ci-abi-snapshots.yml index eabd289..bd60ba8 100644 --- a/.github/workflows/ci-abi-snapshots.yml +++ b/.github/workflows/ci-abi-snapshots.yml @@ -4,6 +4,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: check-abi: name: check-abi-snapshots diff --git a/.github/workflows/ci-contracts.yml b/.github/workflows/ci-contracts.yml index 97f4049..a2f4eb2 100644 --- a/.github/workflows/ci-contracts.yml +++ b/.github/workflows/ci-contracts.yml @@ -4,6 +4,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: cargo test diff --git a/.github/workflows/ci-coverage.yml b/.github/workflows/ci-coverage.yml index 545ca2f..d1699c5 100644 --- a/.github/workflows/ci-coverage.yml +++ b/.github/workflows/ci-coverage.yml @@ -8,6 +8,10 @@ permissions: contents: read pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: COVERAGE_THRESHOLD: 70 diff --git a/.github/workflows/ci-error-docs.yml b/.github/workflows/ci-error-docs.yml index c926709..a18a534 100644 --- a/.github/workflows/ci-error-docs.yml +++ b/.github/workflows/ci-error-docs.yml @@ -13,6 +13,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: check-error-docs-sync: name: check-error-codes-docs-sync diff --git a/.github/workflows/ci-post-deploy-verify.yml b/.github/workflows/ci-post-deploy-verify.yml index 99c423c..4ea2701 100644 --- a/.github/workflows/ci-post-deploy-verify.yml +++ b/.github/workflows/ci-post-deploy-verify.yml @@ -17,6 +17,10 @@ on: description: "Deployed compliance contract ID (C…)" required: true +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: deploy-testnet: name: deploy (testnet) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1208463..3dbcc60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build-and-lint: runs-on: ubuntu-latest diff --git a/.github/workflows/lint-docs.yml b/.github/workflows/lint-docs.yml index 123a7a7..08c64e6 100644 --- a/.github/workflows/lint-docs.yml +++ b/.github/workflows/lint-docs.yml @@ -8,6 +8,10 @@ permissions: contents: read pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint-docs: runs-on: ubuntu-latest