Skip to content

Commit b389c0c

Browse files
committed
Skip tests when only docs changes present
1 parent dd4306e commit b389c0c

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/pr.yaml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
name: Pull Request
22

33
on:
4-
pull_request: {}
4+
pull_request:
5+
paths-ignore:
6+
- 'docs/**'
7+
- '*.md'
8+
- '*.rst'
9+
- '*.txt'
10+
- '*.html'
11+
- '*.css'
12+
- '*.js'
13+
- '*.png'
14+
- '*.jpg'
15+
- '*.jpeg'
16+
- '*.gif'
17+
- '*.svg'
518
push:
619
branches:
720
- main
21+
paths-ignore:
22+
- 'docs/**'
23+
- '*.md'
24+
- '*.rst'
25+
- '*.txt'
26+
- '*.html'
27+
- '*.css'
28+
- '*.js'
29+
- '*.png'
30+
- '*.jpg'
31+
- '*.jpeg'
32+
- '*.gif'
33+
- '*.svg'
834
workflow_dispatch: {}
935

1036
jobs:

0 commit comments

Comments
 (0)