Skip to content

Commit 88b8cc9

Browse files
authored
Merge pull request #3014 from IBM/issue-3013
Automation: Add Concurrency Controls to GitHub Workflow Actions #3013
2 parents fadee5d + 1e93165 commit 88b8cc9

File tree

9 files changed

+33
-1
lines changed

9 files changed

+33
-1
lines changed

.github/workflows/audit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ jobs:
4949
with:
5050
name: integration-test-results-${{ matrix.audit }}-${{ matrix.java }}
5151
path: build/audit/integration-test-results
52+
53+
concurrency:
54+
group: audit-${{ github.event.pull_request.number || github.sha }}
55+
cancel-in-progress: true

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,7 @@ jobs:
185185
with:
186186
name: integration-test-results-${{ matrix.java }}
187187
path: SIT/integration-test-results
188+
189+
concurrency:
190+
group: build-${{ github.event.pull_request.number || github.sha }}
191+
cancel-in-progress: true

.github/workflows/integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,7 @@ jobs:
7373
with:
7474
name: integration-test-results-db2-${{ matrix.java }}
7575
path: integration-test-results
76+
77+
concurrency:
78+
group: integration-${{ github.event.pull_request.number || github.sha }}
79+
cancel-in-progress: true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Thu Apr 2 04:57:49 EDT 2020
1+
Thu Apr 2 04:57:49 EDT 2021

.github/workflows/migration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,7 @@ jobs:
149149
with:
150150
name: integration-test-results-${{ matrix.datastore }}-${{ matrix.release }}
151151
path: fhir/build/migration/integration-test-results
152+
153+
concurrency:
154+
group: migration-${{ github.event.pull_request.number || github.sha }}
155+
cancel-in-progress: true

.github/workflows/notification.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ jobs:
4949
with:
5050
name: integration-test-results-${{ matrix.notifications }}-${{ matrix.java }}
5151
path: build/notifications/${{ matrix.notifications }}/integration-test-results
52+
53+
concurrency:
54+
group: notification-${{ github.event.pull_request.number || github.sha }}
55+
cancel-in-progress: true

.github/workflows/persistence.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@ jobs:
4848
with:
4949
name: integration-test-results-${{ matrix.persistence }}-${{ matrix.java }}
5050
path: build/persistence/integration-test-results
51+
52+
concurrency:
53+
group: persistence-${{ github.event.pull_request.number || github.sha }}
54+
cancel-in-progress: true

.github/workflows/reindex.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ jobs:
4747
with:
4848
name: integration-test-results-${{ matrix.datastore }}
4949
path: build/reindex/integration-test-results
50+
51+
concurrency:
52+
group: reindex-${{ github.event.pull_request.number || github.sha }}
53+
cancel-in-progress: true

.github/workflows/windows.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,7 @@ jobs:
8484
with:
8585
name: integration-test-results-windows-${{ matrix.java }}
8686
path: SIT/integration-test-results
87+
88+
concurrency:
89+
group: windows-${{ github.event.pull_request.number || github.sha }}
90+
cancel-in-progress: true

0 commit comments

Comments
 (0)