Skip to content

Commit 9761687

Browse files
committed
Don't run CI when non-dart files were changed
1 parent c02f81b commit 9761687

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ name: Continous Integration
22
on:
33
push:
44
branches: [ master ]
5+
paths:
6+
- '**.dart'
57
pull_request:
68
branches: [ master ]
9+
paths:
10+
- '**.dart'
711
jobs:
812
test:
913
runs-on: ubuntu-20.04

.github/workflows/linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- "master"
7+
paths:
8+
- '**.dart'
79

810

911
jobs:

0 commit comments

Comments
 (0)