Skip to content

Commit 89ad5b4

Browse files
authored
chore: add concurrency configuration to prevent simultaneous deployments
1 parent ccd08a8 commit 89ad5b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/azure-dev.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ on:
2424
# Run when pull requests are opened or updated
2525
branches:
2626
- main
27+
2728
# GitHub Actions workflow to deploy to Azure using azd
29+
# Ensure only one deployment runs at a time to prevent conflicts
30+
concurrency:
31+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
32+
cancel-in-progress: false
33+
2834
permissions:
2935
actions: read # Needed for uploading SARIF reports
3036
security-events: write # Needed for uploading SARIF reports

0 commit comments

Comments
 (0)