Skip to content

Commit 99216f8

Browse files
committed
Only run language specific jobs if language has changes
1 parent 7ba3190 commit 99216f8

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

.github/workflows/test-dotnet.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ on:
55
branches:
66
- main
77
- renovate/**
8+
paths:
9+
- dotnet/**
10+
- .github/**
11+
- Makefile
812
pull_request:
913
branches:
1014
- main
15+
paths:
16+
- dotnet/**
17+
- .github/**
18+
- Makefile
1119
workflow_call:
1220

1321
jobs:

.github/workflows/test-java.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ on:
55
branches:
66
- main
77
- renovate/**
8+
paths:
9+
- java/**
10+
- .github/**
11+
- Makefile
812
pull_request:
913
branches:
1014
- main
15+
paths:
16+
- java/**
17+
- .github/**
18+
- Makefile
1119
workflow_call:
1220

1321
jobs:

.github/workflows/test-javascript.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ on:
55
branches:
66
- main
77
- renovate/**
8+
paths:
9+
- javascript/**
10+
- .github/**
11+
- Makefile
812
pull_request:
913
branches:
1014
- main
15+
paths:
16+
- javascript/**
17+
- .github/**
18+
- Makefile
1119
workflow_call:
1220

1321
jobs:

.github/workflows/test-ruby.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ on:
55
branches:
66
- main
77
- renovate/**
8+
paths:
9+
- ruby/**
10+
- .github/**
11+
- Makefile
812
pull_request:
913
branches:
1014
- main
15+
paths:
16+
- ruby/**
17+
- .github/**
18+
- Makefile
1119
workflow_call:
1220

1321
jobs:

0 commit comments

Comments
 (0)