diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d023152..52429d77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,10 @@ on: - feature - "releases/**" +concurrency: + group: pairag-ci-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read pull-requests: write diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cdbc95c9..1ac30874 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,10 @@ on: - feature - "releases/**" +concurrency: + group: pr-build-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read pull-requests: write diff --git a/.github/workflows/main_gpu.yml b/.github/workflows/main_gpu.yml index aa631430..d14b2a40 100644 --- a/.github/workflows/main_gpu.yml +++ b/.github/workflows/main_gpu.yml @@ -8,6 +8,10 @@ on: - feature - "releases/**" +concurrency: + group: pr-build-gpu-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read pull-requests: write