From 3d65de4c7974f53631059412bfc769a2180a138c Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 12 Nov 2024 18:03:20 -0300 Subject: [PATCH] ci: Add concurrency control to Run benchmarks workflow (#4551) Add concurrency control to GitHub Actions workflow to cancel in-progress runs --- .github/workflows/codspeed.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index f63de7942..1d6618176 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -13,6 +13,10 @@ on: - "src/backend/tests/performance/**" workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: codspeed: name: Run benchmarks