Skip to content

Commit f7ea910

Browse files
committed
Fix concurrency in GH actions
1 parent e575b1f commit f7ea910

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/infrastructure-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ env:
3737

3838
# Concurrency control to prevent simultaneous deployments to the same environment
3939
concurrency:
40-
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
40+
group: ${{ github.workflow }}-${{inputs.environment}}-${{ github.event_name }}-${{ github.ref }}
4141
cancel-in-progress: true
4242

4343
jobs:

.github/workflows/infrastructure-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ env:
4646

4747
# Concurrency control to prevent simultaneous linting
4848
concurrency:
49-
group: ${{ github.workflow }}-${{ github.ref }}
49+
group: ${{ github.workflow }}-${{inputs.environments}}-${{ github.event_name }}-${{ github.ref }}
5050
cancel-in-progress: true
5151

5252
jobs:

0 commit comments

Comments
 (0)