From b7424ffaf53eac2c5b942b43a11770a51a7c9f88 Mon Sep 17 00:00:00 2001 From: Mohan <86064887+binarybaron@users.noreply.github.com> Date: Wed, 14 May 2025 21:20:50 +0200 Subject: [PATCH] feat(ci): Limit ci.yml to one concurrent running job per git branch (#316) --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5384746b..c713030a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: branches: - "master" # Always build head of master for the badge in the README +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: static_analysis: runs-on: ubuntu-latest