diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index de7970c429a..c21e876287f 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -6,6 +6,10 @@ on: - main - release-* +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: GRADLE_OPTS: "-Xmx6g -Dorg.gradle.daemon=false" total-runners: 16 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index f262d986b1c..169c4ef7c5a 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -5,9 +5,10 @@ on: branches: - main - release-* - pull_request_review: - types: - - submitted + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true env: GRADLE_OPTS: "-Xmx6g -Dorg.gradle.daemon=false" diff --git a/.github/workflows/pre-review.yml b/.github/workflows/pre-review.yml index bee640e16bd..a77791575a1 100644 --- a/.github/workflows/pre-review.yml +++ b/.github/workflows/pre-review.yml @@ -5,6 +5,10 @@ on: branches: - main - release-* + - +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: repolint: diff --git a/.github/workflows/reference-tests.yml b/.github/workflows/reference-tests.yml index c8f320bb0c9..59d429d4488 100644 --- a/.github/workflows/reference-tests.yml +++ b/.github/workflows/reference-tests.yml @@ -10,6 +10,10 @@ env: GRADLE_OPTS: "-Xmx6g -Dorg.gradle.daemon=false" total-runners: 10 +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: referenceTestEthereum: runs-on: ubuntu-22.04