Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 9b5fd89

Browse files
author
Peter Somogyvari
committed
ci(github): refine path-filtering logic for change detection
WORK IN PROGRESS Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
1 parent 7fd9d7b commit 9b5fd89

12 files changed

Lines changed: 22 additions & 35 deletions

.github/workflows/ci.yaml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,35 +36,22 @@ jobs:
3636
steps:
3737
- uses: actions/checkout@v3.5.2
3838

39-
- uses: dorny/paths-filter@v2.11.1
39+
- uses: dorny/paths-filter@v3.0.2
4040
id: changes
4141
with:
42+
predicate-quantifier: 'every'
4243
filters: |
4344
cmd-api-server-changed:
44-
- './packages/cactus-cmd-api-server/**'
45-
- './packages/cactus-test-cmd-api-server/**'
46-
- './packages/cactus-common/**'
47-
- './packages/cactus-core/**'
48-
- './packages/cactus-core-api/**'
49-
- './packages/cactus-test-tooling/**'
50-
- './packages/cactus-plugin-keychain-vault/**'
51-
# - './.github/workflows/ci.yaml'
45+
- './packages/(cactus-cmd-api-server|cactus-test-cmd-api-server|cactus-common|cactus-core|cactus-core-api|cactus-test-tooling|cactus-plugin-keychain-vault)/**'
46+
- '**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
5247
5348
plugin-ledger-connector-polkadot-changed:
54-
- './packages/cactus-plugin-ledger-connector-polkadot/**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
55-
- './packages/cactus-common/**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
56-
- './packages/cactus-core/**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
57-
- './packages/cactus-core-api/**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
58-
- './packages/cactus-test-tooling/**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
59-
# - './.github/workflows/ci.yaml'
49+
- './packages/(cactus-plugin-ledger-connector-polkadot|cactus-common|cactus-core|cactus-core-api|cactus-test-tooling)/**'
50+
- '**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
6051
6152
plugin-ledger-connector-aries-changed:
62-
- './packages/cactus-plugin-ledger-connector-aries/**'
63-
- './packages/cactus-common/**'
64-
- './packages/cactus-core/**'
65-
- './packages/cactus-core-api/**'
66-
- './packages/cactus-test-tooling/**'
67-
# - './.github/workflows/ci.yaml'
53+
- './packages/(cactus-plugin-ledger-connector-aries|cactus-common|cactus-core|cactus-core-api|cactus-test-tooling)/**'
54+
- '**!(*.md|*.css|*.html|*.jpg|*.jpeg|*.png)'
6855
6956
plugin-ledger-connector-besu-changed:
7057
- './packages/cactus-plugin-ledger-connector-besu/**'

.github/workflows/test_weaver-asset-exchange-besu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v3.5.2
3131

32-
- uses: dorny/paths-filter@v2.11.1
32+
- uses: dorny/paths-filter@v3.0.2
3333
id: changes
3434
with:
3535
filters: |

.github/workflows/test_weaver-asset-exchange-corda.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v3.5.2
3232

33-
- uses: dorny/paths-filter@v2.11.1
33+
- uses: dorny/paths-filter@v3.0.2
3434
id: changes
3535
with:
3636
filters: |
@@ -242,7 +242,7 @@ jobs:
242242
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
243243
- uses: actions/checkout@v3.5.2
244244

245-
- uses: dorny/paths-filter@v2.11.1
245+
- uses: dorny/paths-filter@v3.0.2
246246
id: changes
247247
with:
248248
filters: |

.github/workflows/test_weaver-asset-exchange-fabric.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v3.5.2
3636

37-
- uses: dorny/paths-filter@v2.11.1
37+
- uses: dorny/paths-filter@v3.0.2
3838
id: changes
3939
with:
4040
filters: |

.github/workflows/test_weaver-asset-transfer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v3.5.2
3535

36-
- uses: dorny/paths-filter@v2.11.1
36+
- uses: dorny/paths-filter@v3.0.2
3737
id: changes
3838
with:
3939
filters: |

.github/workflows/test_weaver-corda-interop-app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3.5.2
2727

28-
- uses: dorny/paths-filter@v2.11.1
28+
- uses: dorny/paths-filter@v3.0.2
2929
id: changes
3030
with:
3131
filters: |

.github/workflows/test_weaver-data-sharing.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v3.5.2
3535

36-
- uses: dorny/paths-filter@v2.11.1
36+
- uses: dorny/paths-filter@v3.0.2
3737
id: changes
3838
with:
3939
filters: |
@@ -420,7 +420,7 @@ jobs:
420420
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
421421
- uses: actions/checkout@v3.5.2
422422

423-
- uses: dorny/paths-filter@v2.11.1
423+
- uses: dorny/paths-filter@v3.0.2
424424
id: changes
425425
with:
426426
filters: |
@@ -845,7 +845,7 @@ jobs:
845845
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
846846
- uses: actions/checkout@v3.5.2
847847

848-
- uses: dorny/paths-filter@v2.11.1
848+
- uses: dorny/paths-filter@v3.0.2
849849
id: changes
850850
with:
851851
filters: |

.github/workflows/test_weaver-docker-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v3.5.2
3030

31-
- uses: dorny/paths-filter@v2.11.1
31+
- uses: dorny/paths-filter@v3.0.2
3232
id: changes
3333
with:
3434
filters: |

.github/workflows/test_weaver-go.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v3.5.2
2828

29-
- uses: dorny/paths-filter@v2.11.1
29+
- uses: dorny/paths-filter@v3.0.2
3030
id: changes
3131
with:
3232
filters: |

.github/workflows/test_weaver-node-pkgs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v3.5.2
3333

34-
- uses: dorny/paths-filter@v2.11.1
34+
- uses: dorny/paths-filter@v3.0.2
3535
id: changes
3636
with:
3737
filters: |

0 commit comments

Comments
 (0)