diff --git a/workflow-templates/e2e-pro.yaml b/workflow-templates/e2e-pro.yaml index 7894399bc..599d6e676 100644 --- a/workflow-templates/e2e-pro.yaml +++ b/workflow-templates/e2e-pro.yaml @@ -8,6 +8,10 @@ on: - 'feature/**' - hotfix/** +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: e2e-tests: runs-on: ubuntu-latest diff --git a/workflow-templates/run-tests.yaml b/workflow-templates/run-tests.yaml index 2fd35404d..720880381 100644 --- a/workflow-templates/run-tests.yaml +++ b/workflow-templates/run-tests.yaml @@ -8,6 +8,10 @@ on: - 'feature/**' - hotfix/** +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: all-tests: runs-on: ubuntu-latest