Skip to content

Commit 1f4e991

Browse files
authored
build: run workflows selectively based on language edited (#507)
1 parent 666ad02 commit 1f4e991

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/go_ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ on:
44
release:
55
types: [created]
66
pull_request:
7+
paths:
8+
- 'go/**'
9+
- '.github/workflows/go_ci.yaml'
710
push:
811
branches:
912
- main
13+
paths:
14+
- 'go/**'
15+
- '.github/workflows/go_ci.yaml'
1016
workflow_call:
1117

1218
jobs:

.github/workflows/python_ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ on:
44
release:
55
types: [ created ]
66
pull_request:
7+
paths:
8+
- 'python/**'
9+
- 'rust/crates/sift_stream_bindings/**'
10+
- '.github/workflows/python_ci.yaml'
711
push:
812
branches:
913
- main
14+
paths:
15+
- 'python/**'
16+
- 'rust/crates/sift_stream_bindings/**'
17+
- '.github/workflows/python_ci.yaml'
1018
workflow_call:
1119

1220
jobs:

.github/workflows/rust_ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@ on:
44
release:
55
types: [created]
66
pull_request:
7+
paths:
8+
- 'rust/**'
9+
- 'Cargo.toml'
10+
- 'Cargo.lock'
11+
- 'dist-workspace.toml'
12+
- '.github/workflows/rust_ci.yaml'
713
push:
814
branches:
915
- main
16+
paths:
17+
- 'rust/**'
18+
- 'Cargo.toml'
19+
- 'Cargo.lock'
20+
- 'dist-workspace.toml'
21+
- '.github/workflows/rust_ci.yaml'
1022
workflow_call:
1123
inputs:
1224
ref:

0 commit comments

Comments
 (0)