Skip to content

Commit 2b7efd8

Browse files
sean-zlaitechniq
andauthored
Scope all workflow paths to self (#140)
## Summary Scope all the Github workflow trigger paths regarding workflows to self to not unnecessarily trigger all the other workflows. ![image](https://github.com/user-attachments/assets/7ee6099a-085a-4ac4-8472-108346c0f4f3) See Slack [thread](https://zipline-2kh4520.slack.com/archives/C072LUA50KA/p1734555635936189) ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> Co-authored-by: Sean Lynch <[email protected]>
1 parent e127fb7 commit 2b7efd8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/test_python.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- main
77
paths:
88
- 'api/py/**'
9-
- '.github/workflows/**'
9+
- '.github/workflows/test_python.yaml'
1010
pull_request:
1111
branches:
1212
- main
1313
paths:
1414
- 'api/py/**'
15-
- '.github/workflows/**'
15+
- '.github/workflows/test_python.yaml'
1616

1717
concurrency:
1818
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/test_scala_fmt.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- main
77
paths:
88
- '**/*.scala'
9-
- '.github/workflows/**'
9+
- '.github/workflows/test_scala_fmt.yaml'
1010
pull_request:
1111
branches:
1212
- main
1313
paths:
1414
- '**/*.scala'
15-
- '.github/workflows/**'
15+
- '.github/workflows/test_scala_fmt.yaml'
1616

1717
concurrency:
1818
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/test_scala_no_spark.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- 'aggregator/**'
1010
- 'online/**'
1111
- 'api/**'
12-
- '.github/workflows/**'
12+
- '.github/workflows/test_scala_no_spark.yaml'
1313
- 'build.sbt'
1414
pull_request:
1515
branches:
@@ -19,7 +19,7 @@ on:
1919
- 'aggregator/**'
2020
- 'online/**'
2121
- 'api/**'
22-
- '.github/workflows/**'
22+
- '.github/workflows/test_scala_no_spark.yaml'
2323
- 'build.sbt'
2424

2525

.github/workflows/test_scala_spark.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ on:
66
- main
77
paths:
88
- 'spark/**'
9-
- '.github/workflows/**'
9+
- '.github/workflows/test_scala_spark.yaml'
1010
- 'build.sbt'
1111
pull_request:
1212
branches:
1313
- main
1414
paths:
1515
- 'spark/**'
16-
- '.github/workflows/**'
16+
- '.github/workflows/test_scala_spark.yaml'
1717
- 'build.sbt'
1818

1919
concurrency:

0 commit comments

Comments
 (0)