Skip to content

Commit e8b36f1

Browse files
ci: do not run CI workflow if the changes are related only to documentation or GitHub Actions configuration (#314)
1 parent fa59d6b commit e8b36f1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

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

33
on:
4-
push:
5-
branches: [ "main" ]
64
pull_request:
75
branches: [ "main" ]
6+
paths-ignore:
7+
- '.github/**'
8+
- '**/*.md'
9+
push:
10+
branches: [ "main" ]
11+
paths-ignore:
12+
- '.github/**'
13+
- '**/*.md'
814

915
permissions:
1016
contents: read

0 commit comments

Comments
 (0)