From 6187f76d630de762dfb064b969f3cc6dcd6e844b Mon Sep 17 00:00:00 2001 From: elle-j Date: Tue, 2 Dec 2025 16:38:06 +0100 Subject: [PATCH] Control concurrency and cancel in-progress runs when re-triggered. --- .github/workflows/benchmark.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 4f22f37..71b5d0d 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -7,6 +7,10 @@ on: workflows: [Test] types: [completed] +concurrency: + group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }} + cancel-in-progress: true + jobs: benchmark: runs-on: ubuntu-24.04