Skip to content

Commit 7c2d1ea

Browse files
committed
Limit CI to relevant paths
1 parent 16e3709 commit 7c2d1ea

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Deploy docs
22
on:
33
push:
4+
paths: ['docs/**', '*.md']
45
pull_request:
6+
paths: ['docs/**', '*.md']
7+
branches: [master]
58
schedule:
69
- cron: '0 6 * * 6'
710
jobs:

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: CI
22

33
on:
44
push:
5+
paths-ignore: ['docs/**', '*.md']
56
pull_request:
6-
7+
paths-ignore: ['docs/**', '*.md']
8+
branches: [master]
79
schedule:
810
- cron: '0 6 * * 6'
911

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: CI (release)
22

33
on:
44
push:
5-
branches:
6-
- v1
5+
branches: [v1]
6+
7+
8+
79
schedule:
810
- cron: '0 6 * * 6'
911

0 commit comments

Comments
 (0)