Skip to content

Commit c8b8abf

Browse files
authored
Skip CI for docs-only changes (#107)
Add paths-ignore to avoid running the full Docker + test suite for changes that only touch markdown, LICENSE, or issue/PR templates.
1 parent 13b3ca8 commit c8b8abf

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ name: Python package
55
on:
66
push:
77
branches: [ main ]
8+
paths-ignore:
9+
- '*.md'
10+
- 'LICENSE'
11+
- '.github/ISSUE_TEMPLATE/**'
12+
- '.github/PULL_REQUEST_TEMPLATE/**'
813
pull_request:
14+
paths-ignore:
15+
- '*.md'
16+
- 'LICENSE'
17+
- '.github/ISSUE_TEMPLATE/**'
18+
- '.github/PULL_REQUEST_TEMPLATE/**'
919

1020
jobs:
1121
build:

0 commit comments

Comments
 (0)