Skip to content

Commit 43a50a6

Browse files
committed
Modify build workflows to only trigger on non-doc changes
1 parent 5fc1f34 commit 43a50a6

7 files changed

+38
-6
lines changed

.github/workflows/build-linux.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Linux CI
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
- '**.ipynb'
8+
- 'myst.yml'
49

510
# Every time you make a push to your PR, it cancel immediately the previous checks,
611
# and start a new one. The other runner will be available more quickly to your PR.

.github/workflows/build-macos.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: macOS CI
22

3-
on: [pull_request]
4-
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
- '**.ipynb'
8+
- 'myst.yml'
59
# Every time you make a push to your PR, it cancel immediately the previous checks,
610
# and start a new one. The other runner will be available more quickly to your PR.
711
concurrency:

.github/workflows/build-python.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Python CI
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
- '**.ipynb'
8+
- 'myst.yml'
49

510
# Every time you make a push to your PR, it cancel immediately the previous checks,
611
# and start a new one. The other runner will be available more quickly to your PR.

.github/workflows/build-special.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Special Cases CI
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
- '**.ipynb'
8+
- 'myst.yml'
49

510
# Every time you make a push to your PR, it cancel immediately the previous checks,
611
# and start a new one. The other runner will be available more quickly to your PR.

.github/workflows/build-windows.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Windows CI
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
- '**.ipynb'
8+
- 'myst.yml'
49

510
# Every time you make a push to your PR, it cancel immediately the previous checks,
611
# and start a new one. The other runner will be available more quickly to your PR.

.github/workflows/trigger-packaging.yml

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches:
66
- develop
7+
paths-ignore:
8+
- '**.md'
9+
- '**.ipynb'
10+
- 'myst.yml'
711
jobs:
812
trigger-package-build:
913
runs-on: ubuntu-latest

.github/workflows/trigger-python.yml

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches:
66
- develop
7+
paths-ignore:
8+
- '**.md'
9+
- '**.ipynb'
10+
- 'myst.yml'
711
jobs:
812
triggerPython:
913
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)