Skip to content

Commit 39ac955

Browse files
chore: [AB#17385] add concurrency to prevent overlapping deploys
1 parent d544d3b commit 39ac955

File tree

7 files changed

+28
-1
lines changed

7 files changed

+28
-1
lines changed

.github/workflows/deploy-content-environment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: "Deploy Content Environment"
33
on:
44
workflow_call:
55

6+
concurrency:
7+
group: deploy-content
8+
cancel-in-progress: true
9+
610
jobs:
711
deploy:
812
runs-on: ubuntu-latest

.github/workflows/deploy-dev-environment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: "Deploy Dev Environment"
33
on:
44
workflow_call:
55

6+
concurrency:
7+
group: deploy-dev
8+
cancel-in-progress: true
9+
610
jobs:
711
deploy:
812
runs-on: ubuntu-latest

.github/workflows/deploy-staging-environment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Deploy Staging Environment
33
on:
44
workflow_call:
55

6+
concurrency:
7+
group: deploy-staging
8+
cancel-in-progress: false
9+
610
jobs:
711
deploy-staging:
812
runs-on: ubuntu-latest

.github/workflows/merge-content.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
concurrency:
8+
group: merge-main-into-content-repo
9+
cancel-in-progress: false
710

811
jobs:
912
merge-content:

.github/workflows/release-pipeline.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- "release-*"
77
workflow_dispatch:
88

9+
concurrency:
10+
group: release-pipeline
11+
cancel-in-progress: false
12+
913
jobs:
1014
deploy-staging:
1115
uses: ./.github/workflows/deploy-staging-environment.yml
@@ -20,7 +24,7 @@ jobs:
2024
permissions:
2125
contents: read
2226
id-token: write
23-
environment: prod
27+
environment: prod-hold
2428
steps:
2529
- run: echo "Awaiting approval for production release."
2630

.github/workflows/sync-testing-repo-with-main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- cron: "0 12 * * 6"
66
workflow_dispatch:
77

8+
concurrency:
9+
group: sync-testing-repo
10+
cancel-in-progress: false
11+
812
jobs:
913
sync-testing-repo-weekly-from-main:
1014
name: Sync testing-repo from main weekly

.github/workflows/testing-deployment-trigger.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- testing-repo
77
workflow_dispatch:
88

9+
concurrency:
10+
group: deploy-testing
11+
cancel-in-progress: true
12+
913
jobs:
1014
deploy-testing:
1115
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)