From 5e9cc7b4f5c2f0090b03d123ac0f50452de323a7 Mon Sep 17 00:00:00 2001 From: Kumaran Rajendhiran Date: Tue, 10 Sep 2024 12:12:05 +0530 Subject: [PATCH] Set concurrency in workflows to run one workflow at a time for one branch (#169) --- .github/workflows/pipeline.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index bbbf06e9b..236c04d04 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -11,6 +11,10 @@ env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: static-analysis: strategy: