Skip to content

Commit f96af49

Browse files
committed
fix: Added concurrency groups on workflows
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
1 parent ec21328 commit f96af49

23 files changed

+111
-8
lines changed

.github/workflows/dbt-integration-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
- 'sdk/python/tests/unit/dbt/**'
1414
- '.github/workflows/dbt-integration-tests.yml'
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18+
cancel-in-progress: true
19+
1620
jobs:
1721
dbt-integration-test:
1822
if:

.github/workflows/lint_pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- edited
88
- synchronize
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
validate-title:
1216
if:

.github/workflows/linter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: linter
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
lint-python:
711
runs-on: [ubuntu-latest]

.github/workflows/operator-e2e-integration-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
paths:
1414
- 'infra/**'
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18+
cancel-in-progress: true
19+
1620
jobs:
1721
operator-e2e-tests:
1822
timeout-minutes: 40

.github/workflows/operator_pr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: operator-pr
22

33
on: [pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7+
cancel-in-progress: true
8+
49
jobs:
510
operator-test:
611
runs-on: ubuntu-latest

.github/workflows/pr_duckdb_integration_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- synchronize
88
- labeled
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
integration-test-duckdb-offline:
1216
if:

.github/workflows/pr_integration_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ on:
77
- synchronize
88
- labeled
99

10-
# concurrency is currently broken, see details https://github.com/actions/runner/issues/1532
11-
#concurrency:
12-
# group: pr-integration-tests-${{ github.event.pull_request.number }}
13-
# cancel-in-progress: true
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
1414
permissions:
1515
actions: write
1616
pull-requests: read

.github/workflows/pr_local_integration_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- synchronize
99
- labeled
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
integration-test-python-local:
1317
if:

.github/workflows/pr_ray_integration_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- synchronize
88
- labeled
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
integration-test-ray:
1216
if:

.github/workflows/pr_registration_integration_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- synchronize
88
- labeled
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
1014
permissions:
1115
actions: write
1216
pull-requests: read

0 commit comments

Comments
 (0)