Skip to content

Commit 568b3aa

Browse files
authored
ci: Add path filtering to GitHub Actions workflows (#210)
1 parent 885f514 commit 568b3aa

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,21 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'rust-sdk/**'
9+
- 'eppo_core/**'
10+
- 'sdk-test-data/**'
11+
- 'mock-server/**'
12+
- 'package-lock.json'
13+
- 'package.json'
714
pull_request:
15+
paths:
16+
- 'rust-sdk/**'
17+
- 'eppo_core/**'
18+
- 'sdk-test-data/**'
19+
- 'mock-server/**'
20+
- 'package-lock.json'
21+
- 'package.json'
822
workflow_call:
923
inputs:
1024
test_data_branch:

.github/workflows/python.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,23 @@ on:
1313
push:
1414
branches:
1515
- main
16+
paths:
17+
- 'python-sdk/**'
18+
- 'eppo_core/**'
19+
- 'sdk-test-data/**'
20+
- 'mock-server/**'
21+
- 'package-lock.json'
22+
- 'package.json'
1623
release:
1724
types: [published]
1825
pull_request:
26+
paths:
27+
- 'python-sdk/**'
28+
- 'eppo_core/**'
29+
- 'sdk-test-data/**'
30+
- 'mock-server/**'
31+
- 'package-lock.json'
32+
- 'package.json'
1933
workflow_dispatch:
2034

2135
permissions:

.github/workflows/ruby.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,21 @@ on:
55
push:
66
branches:
77
- main
8+
paths:
9+
- 'ruby-sdk/**'
10+
- 'eppo_core/**'
11+
- 'sdk-test-data/**'
12+
- 'mock-server/**'
13+
- 'package-lock.json'
14+
- 'package.json'
815
pull_request:
16+
paths:
17+
- 'ruby-sdk/**'
18+
- 'eppo_core/**'
19+
- 'sdk-test-data/**'
20+
- 'mock-server/**'
21+
- 'package-lock.json'
22+
- 'package.json'
923

1024
concurrency:
1125
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)