Skip to content

Commit 6d0e909

Browse files
committed
Add concurrency group to main pushes
1 parent f8345e6 commit 6d0e909

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
- opened
1414
- synchronize
1515

16+
concurrency:
17+
group: deploy-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && 'main-deployment' || github.sha }}
18+
cancel-in-progress: true
19+
1620
env:
1721
DEPLOYMENT_TARGET_HASH: ${{ github.sha }}
1822
DEPLOYMENT_TRIGGER_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)