From 97ba1b1d8739d59d0b0dd61e854c1207f065b372 Mon Sep 17 00:00:00 2001 From: rasswanth-s <43314053+rasswanth-s@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:01:40 +0530 Subject: [PATCH] added a check to prevent concurrent runs --- .github/workflows/cd-syft.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cd-syft.yml b/.github/workflows/cd-syft.yml index 0c3ec93be68..c6adae13a8d 100644 --- a/.github/workflows/cd-syft.yml +++ b/.github/workflows/cd-syft.yml @@ -25,6 +25,12 @@ on: - TEST_PYPI - REAL_AND_TEST_PYPI +# Prevents concurrent runs of the same workflow +# while the previous run is still in progress +concurrency: + group: "CD - Syft" + cancel-in-progress: false + jobs: release-checks: if: github.repository == 'OpenMined/PySyft' # don't run on forks