diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.yml index 58d3464a3a..33e12aa900 100644 --- a/.github/workflows/platform-frontend-ci.yml +++ b/.github/workflows/platform-frontend-ci.yml @@ -12,6 +12,10 @@ on: - "autogpt_platform/frontend/**" merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || '' }} + cancel-in-progress: true + defaults: run: shell: bash diff --git a/.github/workflows/platform-fullstack-ci.yml b/.github/workflows/platform-fullstack-ci.yml index a75c1b9068..0e4b0f8f49 100644 --- a/.github/workflows/platform-fullstack-ci.yml +++ b/.github/workflows/platform-fullstack-ci.yml @@ -12,6 +12,10 @@ on: - "autogpt_platform/**" merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || '' }} + cancel-in-progress: true + defaults: run: shell: bash