Skip to content

Commit 2ad98b1

Browse files
dcherianmax-sixty
andauthored
Trigger CI only if code files are modified. (#9006)
* Trigger CI only if code files are modified. Fixes #8705 * Apply suggestions from code review Co-authored-by: Maximilian Roos <[email protected]> --------- Co-authored-by: Maximilian Roos <[email protected]>
1 parent c01de39 commit 2ad98b1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci-additional.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
pull_request:
77
branches:
88
- "main"
9+
paths:
10+
- 'ci/**'
11+
- '.github/**'
12+
- '/*' # covers files such as `pyproject.toml`
13+
- 'properties/**'
14+
- 'xarray/**'
915
workflow_dispatch: # allows you to trigger manually
1016

1117
concurrency:

.github/workflows/ci.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
pull_request:
77
branches:
88
- "main"
9+
paths:
10+
- 'ci/**'
11+
- '.github/**'
12+
- '/*' # covers files such as `pyproject.toml`
13+
- 'properties/**'
14+
- 'xarray/**'
915
workflow_dispatch: # allows you to trigger manually
1016

1117
concurrency:

0 commit comments

Comments
 (0)