Skip to content

Commit

Permalink
add concurrency group to ensure only one run or job within the group …
Browse files Browse the repository at this point in the history
…runs at a time
  • Loading branch information
Sayali M authored and Sayali M committed Jul 19, 2024
1 parent bf60fc3 commit ef54d9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/lth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ef54d9e

Please sign in to comment.