Skip to content

Commit

Permalink
Added concurrency in the Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveenraj-K committed Nov 12, 2024
1 parent ba5337e commit a5a5ab3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-deploy-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
paths-ignore:
- 'terraform/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
tests:
name: Tests
Expand All @@ -28,6 +32,9 @@ jobs:
needs: tests
if: github.ref_name == 'main' || github.ref_name == 'develop'
runs-on: ubuntu-latest
concurrency:
group: deploy-${{ github.ref }}-${{ matrix.region }}
cancel-in-progress: false
strategy:
matrix:
region: [ us-east-1, us-west-2 ]
Expand Down

0 comments on commit a5a5ab3

Please sign in to comment.