Skip to content

Commit 1b0f1cc

Browse files
committed
Only run when modifications are done to code paths
Will hopefully save us some time in the future
1 parent 3911669 commit 1b0f1cc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/format.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
paths:
66
- 'CollaborativeCoding/**'
7+
- 'tests/**'
78
pull_request:
89
paths:
910
- 'CollaborativeCoding/**'
11+
- 'tests/**'
1012

1113
jobs:
1214
format:

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ name: Test
22

33
on:
44
push:
5-
branches: [ main ]
5+
paths:
6+
- 'CollaborativeCoding/**'
7+
- 'tests/**'
68
pull_request:
7-
branches: [ main ]
9+
paths:
10+
- 'CollaborativeCoding/**'
11+
- 'tests/**'
812

913
jobs:
1014
test:

0 commit comments

Comments
 (0)