Skip to content

Commit 18668ab

Browse files
CHG: Only run workflows on certain changes
1 parent 8d29715 commit 18668ab

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

.github/workflows/common-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ on:
2727
python_version:
2828
required: false
2929
type: string
30+
3031
env:
3132
ISSM_DIR: ${{ github.workspace }}
3233

.github/workflows/ubuntu-basic.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,29 @@ name: Ubuntu Basic
33
on:
44
push:
55
branches: [ "main" ]
6+
paths:
7+
- ".github/workflows/common-workflow.yml"
8+
- ".github/workflows/ubuntu-basic.yml"
9+
- "etc/**"
10+
- "externalpackages/**"
11+
- "m4/**"
12+
- "src/**"
13+
- "test/**"
14+
- "Makefile.am"
15+
- "configure.ac"
616
pull_request:
717
branches: [ "main" ]
18+
paths:
19+
- ".github/workflows/common-workflow.yml"
20+
- ".github/workflows/ubuntu-basic.yml"
21+
- "etc/**"
22+
- "externalpackages/**"
23+
- "m4/**"
24+
- "src/**"
25+
- "test/**"
26+
- "Makefile.am"
27+
- "configure.ac"
28+
829
env:
930
ISSM_DIR: ${{ github.workspace }}
1031

.github/workflows/ubuntu-codipack.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,29 @@ name: Ubuntu CodiPack
33
on:
44
push:
55
branches: [ "main" ]
6+
paths:
7+
- ".github/workflows/common-workflow.yml"
8+
- ".github/workflows/ubuntu-codipack.yml"
9+
- "etc/**"
10+
- "externalpackages/**"
11+
- "m4/**"
12+
- "src/**"
13+
- "test/**"
14+
- "Makefile.am"
15+
- "configure.ac"
616
pull_request:
717
branches: [ "main" ]
18+
paths:
19+
- ".github/workflows/common-workflow.yml"
20+
- ".github/workflows/ubuntu-codipack.yml"
21+
- "etc/**"
22+
- "externalpackages/**"
23+
- "m4/**"
24+
- "src/**"
25+
- "test/**"
26+
- "Makefile.am"
27+
- "configure.ac"
28+
829
env:
930
ISSM_DIR: ${{ github.workspace }}
1031

.github/workflows/ubuntu-python.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,29 @@ name: Ubuntu Python
33
on:
44
push:
55
branches: [ "main" ]
6+
paths:
7+
- ".github/workflows/common-workflow.yml"
8+
- ".github/workflows/ubuntu-python.yml"
9+
- "etc/**"
10+
- "externalpackages/**"
11+
- "m4/**"
12+
- "src/**"
13+
- "test/**"
14+
- "Makefile.am"
15+
- "configure.ac"
616
pull_request:
717
branches: [ "main" ]
18+
paths:
19+
- ".github/workflows/common-workflow.yml"
20+
- ".github/workflows/ubuntu-basic.yml"
21+
- "etc/**"
22+
- "externalpackages/**"
23+
- "m4/**"
24+
- "src/**"
25+
- "test/**"
26+
- "Makefile.am"
27+
- "configure.ac"
28+
829
env:
930
ISSM_DIR: ${{ github.workspace }}
1031

0 commit comments

Comments
 (0)