From ef54d9e8cdd0bb9860580d85d0de95fc860221dc Mon Sep 17 00:00:00 2001 From: Sayali M Date: Fri, 19 Jul 2024 10:36:16 -0500 Subject: [PATCH] add concurrency group to ensure only one run or job within the group runs at a time --- .github/workflows/lth.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lth.yml b/.github/workflows/lth.yml index 3d52a443..2260708c 100644 --- a/.github/workflows/lth.yml +++ b/.github/workflows/lth.yml @@ -6,6 +6,11 @@ on: push: branches: - main + - +# ensure only one run or job within the group runs at a time. + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: liquibase-test-harness: